HttpDependencyMetadataResolver class for the custom downstream dependency metadata resolution #6880
Azure Pipelines / extensions-ci (Correctness WarningsCheck)
failed
Oct 22, 2025 in 8m 34s
Correctness WarningsCheck failed
Annotations
azure-pipelines / extensions-ci (Correctness WarningsCheck)
src/Libraries/Microsoft.Extensions.Http.Diagnostics/Http/HttpDependencyMetadataResolver.cs#L66
src/Libraries/Microsoft.Extensions.Http.Diagnostics/Http/HttpDependencyMetadataResolver.cs(66,17): error CA1062: (NETCORE_ENGINEERING_TELEMETRY=Build) In externally visible method 'RequestMetadata? HttpDependencyMetadataResolver.GetRequestMetadata(HttpRequestMessage requestMessage)', validate parameter 'requestMessage' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
azure-pipelines / extensions-ci (Correctness WarningsCheck)
src/Libraries/Microsoft.Extensions.Http.Diagnostics/Http/HttpDependencyMetadataResolver.cs#L66
src/Libraries/Microsoft.Extensions.Http.Diagnostics/Http/HttpDependencyMetadataResolver.cs(66,17): error CA1062: (NETCORE_ENGINEERING_TELEMETRY=Build) In externally visible method 'RequestMetadata? HttpDependencyMetadataResolver.GetRequestMetadata(HttpRequestMessage requestMessage)', validate parameter 'requestMessage' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
Loading