Skip to content

Commit 4e040cd

Browse files
erwinkramerjskeet
authored andcommitted
add compatibility suppressions
Signed-off-by: Erwin Kramer <e.a.s.kramer@dnb.nl>
1 parent fc96ddb commit 4e040cd

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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>CP0008</DiagnosticId>
6+
<Target>T:CloudNative.CloudEvents.V1.CloudEvent.DataOneofCase</Target>
7+
<Left>lib/netstandard2.1/CloudNative.CloudEvents.Protobuf.dll</Left>
8+
<Right>lib/netstandard2.0/CloudNative.CloudEvents.Protobuf.dll</Right>
9+
<IsBaselineSuppression>true</IsBaselineSuppression>
10+
</Suppression>
11+
<Suppression>
12+
<DiagnosticId>CP0008</DiagnosticId>
13+
<Target>T:CloudNative.CloudEvents.V1.CloudEvent.Types.CloudEventAttributeValue.AttrOneofCase</Target>
14+
<Left>lib/netstandard2.1/CloudNative.CloudEvents.Protobuf.dll</Left>
15+
<Right>lib/netstandard2.0/CloudNative.CloudEvents.Protobuf.dll</Right>
16+
<IsBaselineSuppression>true</IsBaselineSuppression>
17+
</Suppression>
18+
</Suppressions>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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>CP0008</DiagnosticId>
6+
<Target>T:CloudNative.CloudEvents.ContentMode</Target>
7+
<Left>lib/netstandard2.1/CloudNative.CloudEvents.dll</Left>
8+
<Right>lib/netstandard2.0/CloudNative.CloudEvents.dll</Right>
9+
<IsBaselineSuppression>true</IsBaselineSuppression>
10+
</Suppression>
11+
<Suppression>
12+
<DiagnosticId>CP0008</DiagnosticId>
13+
<Target>T:CloudNative.CloudEvents.Core.CloudEventAttributeTypeOrdinal</Target>
14+
<Left>lib/netstandard2.1/CloudNative.CloudEvents.dll</Left>
15+
<Right>lib/netstandard2.0/CloudNative.CloudEvents.dll</Right>
16+
<IsBaselineSuppression>true</IsBaselineSuppression>
17+
</Suppression>
18+
</Suppressions>

0 commit comments

Comments
 (0)