Skip to content

add net9 to test framework #780

add net9 to test framework

add net9 to test framework #780

Re-run triggered October 23, 2024 23:22
Status Success
Total duration 11m 6s
Artifacts

build-and-test-BASE.yml

on: pull_request
Matrix: build-test-BASE
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 110 warnings
build-test-BASE (ubuntu-latest, net9.0)
Process completed with exit code 1.
build-test-BASE (windows-latest, net9.0)
Process completed with exit code 1.
build-test-BASE (windows-latest, netcoreapp3.1)
Process completed with exit code 1.
build-test-BASE (windows-latest, net6.0)
Process completed with exit code 1.
build-test-BASE (windows-latest, net7.0)
Process completed with exit code 1.
build-test-BASE (windows-latest, net8.0)
Process completed with exit code 1.
build-test-BASE (ubuntu-latest, net7.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net7.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-BASE (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/PerformanceCounterTelemetry.cs#L180
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L313
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L284
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L54
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L172
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net452)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L390
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net452)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L489
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net452): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-BASE (ubuntu-latest, net7.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L492
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net452): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L35
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, net452): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L26
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, net452): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L54
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net452): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L172
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net452): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L390
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net452): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L489
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net452): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L492
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net452): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L503
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net6.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net6.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-BASE (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L284
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L313
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/PerformanceCounterTelemetry.cs#L180
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L54
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L172
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L26
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L35
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, net6.0): BASE/src/Microsoft.ApplicationInsights/Metrics/Implementation/AutocollectedMetricsExtraction/TraceMetricsExtractor.cs#L94
Change type of variable 'dimensionNames' from 'System.Collections.Generic.IList<string>' to 'System.Collections.Generic.List<string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build-test-BASE (ubuntu-latest, net462)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net462)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net462): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-BASE (ubuntu-latest, net462): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L284
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net462): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L313
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net462): BASE/src/Microsoft.ApplicationInsights/Metrics/Implementation/AutocollectedMetricsExtraction/TraceMetricsExtractor.cs#L94
Change type of variable 'dimensionNames' from 'System.Collections.Generic.IList<string>' to 'System.Collections.Generic.List<string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build-test-BASE (ubuntu-latest, net462): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Authentication/ReflectionCredentialEnvelope.cs#L121
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net462): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Authentication/ReflectionCredentialEnvelope.cs#L128
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net462): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Authentication/ReflectionCredentialEnvelope.cs#L132
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net462): BASE/src/Microsoft.ApplicationInsights/Metrics/Implementation/AutocollectedMetricsExtraction/RequestMetricsExtractor.cs#L106
Change type of variable 'dimensionNames' from 'System.Collections.Generic.IList<string>' to 'System.Collections.Generic.List<string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build-test-BASE (ubuntu-latest, net462): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L26
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, netcoreapp3.1)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-BASE (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L313
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L284
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/DataContracts/PerformanceCounterTelemetry.cs#L180
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L54
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/Extensibility/TelemetryConfiguration.cs#L125
'active == null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
build-test-BASE (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L172
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L26
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, netcoreapp3.1): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L35
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, netcoreapp3.1)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net480)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net480): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-BASE (ubuntu-latest, net480): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L313
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net480): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L284
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net480): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L26
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, net480): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L35
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, net480): BASE/src/Microsoft.ApplicationInsights/DataContracts/PerformanceCounterTelemetry.cs#L180
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net481)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net480): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L54
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net481)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net480): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L172
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net481): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-BASE (ubuntu-latest, net480): BASE/src/Microsoft.ApplicationInsights/Metrics/Implementation/AutocollectedMetricsExtraction/TraceMetricsExtractor.cs#L94
Change type of variable 'dimensionNames' from 'System.Collections.Generic.IList<string>' to 'System.Collections.Generic.List<string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build-test-BASE (ubuntu-latest, net481): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L284
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net480)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net481): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L313
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net481): BASE/src/Microsoft.ApplicationInsights/DataContracts/PerformanceCounterTelemetry.cs#L180
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net481): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L26
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, net481): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L35
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, net481): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L54
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net481): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L172
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net481): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L390
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net9.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net9.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-BASE (ubuntu-latest, net9.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L284
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net9.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L313
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net9.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/PerformanceCounterTelemetry.cs#L180
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net9.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L54
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net9.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L172
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net9.0): BASE/src/Microsoft.ApplicationInsights/Metrics/MetricIdentifier.cs#L506
In member bool MetricIdentifier.Equals(object otherObj), change parameter name otherObj to obj in order to match the identifier as it has been declared in bool object.Equals(object obj) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
build-test-BASE (ubuntu-latest, net9.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/TelemetryConfiguration.cs#L125
'active == null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
build-test-BASE (ubuntu-latest, net9.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L390
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net9.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net8.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net8.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-BASE (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L284
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L313
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L26
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L35
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L54
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/Metrics/Implementation/AutocollectedMetricsExtraction/TraceMetricsExtractor.cs#L94
Change type of variable 'dimensionNames' from 'System.Collections.Generic.IList<string>' to 'System.Collections.Generic.List<string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build-test-BASE (ubuntu-latest, net472)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L172
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net472)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
build-test-BASE (ubuntu-latest, net8.0): BASE/src/Microsoft.ApplicationInsights/Metrics/Implementation/AutocollectedMetricsExtraction/RequestMetricsExtractor.cs#L106
Change type of variable 'dimensionNames' from 'System.Collections.Generic.IList<string>' to 'System.Collections.Generic.List<string>' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build-test-BASE (ubuntu-latest, net472): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Endpoints/EndpointMetaAttribute.cs#L10
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
build-test-BASE (ubuntu-latest, net472): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L313
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net472): BASE/src/Microsoft.ApplicationInsights/TelemetryClient.cs#L284
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net472): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L35
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, net472): BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/BroadcastProcessor.cs#L26
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
build-test-BASE (ubuntu-latest, net472): BASE/src/Microsoft.ApplicationInsights/DataContracts/PerformanceCounterTelemetry.cs#L180
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net472): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L54
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build-test-BASE (ubuntu-latest, net472): BASE/src/Microsoft.ApplicationInsights/DataContracts/ExceptionTelemetry.cs#L172
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
build-test-BASE (ubuntu-latest, net472): BASE/src/Microsoft.ApplicationInsights/Extensibility/TelemetryConfiguration.cs#L125
'active == null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)