Skip to content

chore: fix ActivityBaggageLogScopeWrapper implementation

Azure Pipelines / extensions-ci (Correctness WarningsCheck) failed Nov 1, 2024 in 4m 33s

Correctness WarningsCheck failed

Annotations

Check failure on line 293 in src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / extensions-ci (Correctness WarningsCheck)

src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs#L293

src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs(293,62): error IDE0251: (NETCORE_ENGINEERING_TELEMETRY=Build) Member can be made 'readonly' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0251)

Check failure on line 298 in src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / extensions-ci (Correctness WarningsCheck)

src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs#L298

src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs(298,29): error IDE0251: (NETCORE_ENGINEERING_TELEMETRY=Build) Member can be made 'readonly' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0251)

Check failure on line 300 in src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / extensions-ci (Correctness WarningsCheck)

src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs#L300

src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs(300,29): error IDE0251: (NETCORE_ENGINEERING_TELEMETRY=Build) Member can be made 'readonly' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0251)

Check failure on line 302 in src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / extensions-ci (Correctness WarningsCheck)

src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs#L302

src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs(302,29): error IDE0251: (NETCORE_ENGINEERING_TELEMETRY=Build) Member can be made 'readonly' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0251)

Check failure on line 284 in src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / extensions-ci (Correctness WarningsCheck)

src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs#L284

src/Libraries/Microsoft.Extensions.Telemetry/Logging/Import/LoggerFactoryScopeProvider.cs(284,28): error IDE0250: (NETCORE_ENGINEERING_TELEMETRY=Build) Struct can be made 'readonly' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0250)