Skip to content

Commit adf9142

Browse files
authored
[Enrichment.Http] Ignore differences between netstandard2.0 and net462 contract (#3551)
1 parent b3eea76 commit adf9142

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
3+
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
4+
<Suppression>
5+
<DiagnosticId>CP0002</DiagnosticId>
6+
<Target>M:OpenTelemetry.Extensions.Enrichment.Http.HttpClientTraceEnricher.EnrichWithRequest(OpenTelemetry.Extensions.Enrichment.TraceEnrichmentBag@,System.Net.Http.HttpRequestMessage)</Target>
7+
<Left>lib/netstandard2.0/OpenTelemetry.Extensions.Enrichment.Http.dll</Left>
8+
<Right>lib/net462/OpenTelemetry.Extensions.Enrichment.Http.dll</Right>
9+
</Suppression>
10+
<Suppression>
11+
<DiagnosticId>CP0002</DiagnosticId>
12+
<Target>M:OpenTelemetry.Extensions.Enrichment.Http.HttpClientTraceEnricher.EnrichWithResponse(OpenTelemetry.Extensions.Enrichment.TraceEnrichmentBag@,System.Net.Http.HttpResponseMessage)</Target>
13+
<Left>lib/netstandard2.0/OpenTelemetry.Extensions.Enrichment.Http.dll</Left>
14+
<Right>lib/net462/OpenTelemetry.Extensions.Enrichment.Http.dll</Right>
15+
</Suppression>
16+
</Suppressions>

0 commit comments

Comments
 (0)