mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-11 02:13:38 +09:00
Remove unnecessary suppressions in APICompat files (#87094)
* Remove unnecessary suppressions in APICompat files - Remove unnecessary suppressions in APICompat files. This is in preparation for https://github.com/dotnet/sdk/pull/32964 which will validate the existing suppressions going forward. - Set the required APICompat properties for the future tooling support. * Add suppressions back for two CoreLib flavors * Fix CoreLib suppression because of API attribute difference
This commit is contained in:
parent
a9f3262175
commit
533d70c67d
9 changed files with 30 additions and 284 deletions
|
@ -1,4 +1,5 @@
|
|||
<Project>
|
||||
|
||||
<!--
|
||||
##### Contract project settings #####
|
||||
- Allows referencing contract projects for passing matching reference assemblies to tooling like ApiCompat.
|
||||
|
@ -62,6 +63,22 @@
|
|||
<_ApiCompatLibReplacementString Condition="'$(MSBuildProjectName)' == 'System.Private.CoreLib'">lib/$(NetCoreAppCurrent)/$2</_ApiCompatLibReplacementString>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<IsRuntimeAndReferenceAssembly Condition="'$(IsRuntimeAndReferenceAssembly)' == '' and
|
||||
'$(HasMatchingContract)' != 'true' and
|
||||
'$(IsPrivateAssembly)' != 'true'">true</IsRuntimeAndReferenceAssembly>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Disable suppression validation for packable projects that have a corresponding reference source project.
|
||||
That is necessary as APICompat is invoked twice, once for the ref <-> src comparision and then again
|
||||
for the package validation (which doesn't include reference assemblies). As both operations don't have
|
||||
all the inputs available, some suppressions might only apply to one or the other and hence unnecessary
|
||||
suppressions can't be determined. -->
|
||||
<PropertyGroup Condition="'$(IsPackable)' == 'true' and '$(IsRuntimeAndReferenceAssembly)' != 'true'">
|
||||
<ApiCompatPreserveUnnecessarySuppressions>true</ApiCompatPreserveUnnecessarySuppressions>
|
||||
<ApiCompatPermitUnnecessarySuppressions>true</ApiCompatPermitUnnecessarySuppressions>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(IsCrossTargetingBuild)' != 'true'">
|
||||
<!-- Disable API compat if the project doesn't have a reference assembly. -->
|
||||
<ApiCompatValidateAssemblies Condition="'$(HasMatchingContract)' != 'true'">false</ApiCompatValidateAssemblies>
|
||||
|
|
|
@ -50,6 +50,7 @@ namespace System.Runtime.InteropServices
|
|||
|
||||
[SupportedOSPlatform("windows")]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[return: NotNullIfNotNull(nameof(o))]
|
||||
public static object? CreateWrapperOfType(object? o, Type t)
|
||||
{
|
||||
throw new NotSupportedException(SR.PlatformNotSupported_ComInterop);
|
||||
|
|
|
@ -47,14 +47,8 @@
|
|||
-->
|
||||
<WarningsAsErrors>$(WarningsAsErrors.Replace('NU1605', ''))</WarningsAsErrors>
|
||||
|
||||
<IsRuntimeAndReferenceAssembly Condition="'$(IsRuntimeAndReferenceAssembly)' == '' and
|
||||
'$(IsSourceProject)' == 'true' and
|
||||
Exists('$(LibrariesProjectRoot)$(MSBuildProjectName)') and
|
||||
!Exists('$(LibrariesProjectRoot)$(MSBuildProjectName)$([System.IO.Path]::DirectorySeparatorChar)ref') and
|
||||
!$(MSBuildProjectName.StartsWith('System.Private'))">true</IsRuntimeAndReferenceAssembly>
|
||||
|
||||
<!-- The source of truth for these IsNETCoreApp* properties is NetCoreAppLibrary.props. -->
|
||||
<IsNETCoreAppSrc Condition="('$(IsSourceProject)' == 'true' or '$(IsRuntimeAndReferenceAssembly)' == 'true') and
|
||||
<IsNETCoreAppSrc Condition="'$(IsSourceProject)' == 'true' and
|
||||
$(NetCoreAppLibrary.Contains('$(AssemblyName);'))">true</IsNETCoreAppSrc>
|
||||
<IsNETCoreAppRef Condition="('$(IsReferenceAssemblyProject)' == 'true' or '$(IsRuntimeAndReferenceAssembly)' == 'true') and
|
||||
$(NetCoreAppLibrary.Contains('$(AssemblyName);')) and
|
||||
|
@ -82,7 +76,7 @@
|
|||
<!-- Libraries-specific binplacing properties -->
|
||||
<PropertyGroup>
|
||||
<BinPlaceRef Condition="'$(BinPlaceRef)' == '' and ('$(IsReferenceAssemblyProject)' == 'true' or '$(IsRuntimeAndReferenceAssembly)' == 'true')">true</BinPlaceRef>
|
||||
<BinPlaceRuntime Condition="'$(BinPlaceRuntime)' == '' and ('$(IsSourceProject)' == 'true' or '$(IsRuntimeAndReferenceAssembly)' == 'true')">true</BinPlaceRuntime>
|
||||
<BinPlaceRuntime Condition="'$(BinPlaceRuntime)' == '' and '$(IsSourceProject)' == 'true'">true</BinPlaceRuntime>
|
||||
<BinPlaceForTargetVertical Condition="'$(BinPlaceForTargetVertical)' == ''">true</BinPlaceForTargetVertical>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
@ -1,17 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- https://learn.microsoft.com/en-us/dotnet/fundamentals/package-validation/diagnostic-ids -->
|
||||
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<!-- StructWithPublicDefaultConstructor test re-enabled in .NET 7 that added a new parameter to the ctor. -->
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0002</DiagnosticId>
|
||||
<Target>M:Microsoft.Extensions.DependencyInjection.Specification.ClassWithOptionalArgsCtorWithStructs.#ctor(System.DateTime,System.DateTime,System.TimeSpan,System.TimeSpan,System.DateTimeOffset,System.DateTimeOffset,System.Guid,System.Guid,Microsoft.Extensions.DependencyInjection.Specification.ClassWithOptionalArgsCtorWithStructs.CustomStruct,Microsoft.Extensions.DependencyInjection.Specification.ClassWithOptionalArgsCtorWithStructs.CustomStruct,System.Nullable{System.ConsoleColor},System.Nullable{System.ConsoleColor},System.Nullable{System.Int32},System.Nullable{System.Int32})</Target>
|
||||
<IsBaselineSuppression>true</IsBaselineSuppression>
|
||||
</Suppression>
|
||||
<!-- Typo fixed in the .NET 7 version of the package. -->
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0002</DiagnosticId>
|
||||
<Target>M:Microsoft.Extensions.DependencyInjection.Specification.DependencyInjectionSpecificationTests.ExplictServiceRegisterationWithIsService</Target>
|
||||
<IsBaselineSuppression>true</IsBaselineSuppression>
|
||||
</Suppression>
|
||||
<!-- Test renamed to TypeActivatorCreateInstanceUsesLongestAvailableConstructor. -->
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0002</DiagnosticId>
|
||||
|
|
|
@ -17,8 +17,4 @@
|
|||
<DiagnosticId>CP0002</DiagnosticId>
|
||||
<Target>F:System.Resources.ResourceSet.Reader</Target>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0014</DiagnosticId>
|
||||
<Target>M:System.Runtime.InteropServices.Marshal.CreateWrapperOfType(System.Object,System.Type)->object?:[T:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute]</Target>
|
||||
</Suppression>
|
||||
</Suppressions>
|
|
@ -46,6 +46,7 @@ namespace System.Runtime.InteropServices
|
|||
|
||||
[SupportedOSPlatform("windows")]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
[return: NotNullIfNotNull(nameof(o))]
|
||||
public static object? CreateWrapperOfType(object? o, Type t)
|
||||
{
|
||||
throw new PlatformNotSupportedException(SR.PlatformNotSupported_ComInterop);
|
||||
|
|
|
@ -2553,79 +2553,7 @@
|
|||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.Formatter.Deserialize(System.IO.Stream):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.Formatter.Serialize(System.IO.Stream,System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(System.IO.Stream):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(System.IO.Stream,System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.IFormatter.Deserialize(System.IO.Stream):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.IFormatter.Serialize(System.IO.Stream,System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.DoFixups:[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RaiseOnDeserializingEvent(System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64,System.Runtime.Serialization.SerializationInfo,System.Int64,System.Reflection.MemberInfo,System.Int32[]):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64,System.Runtime.Serialization.SerializationInfo,System.Int64,System.Reflection.MemberInfo):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64,System.Runtime.Serialization.SerializationInfo):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.SerializationObjectManager.RegisterObject(System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Target>M:System.Type.GetEnumValues:[T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
|
@ -2643,79 +2571,7 @@
|
|||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.Formatter.Deserialize(System.IO.Stream):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.Formatter.Serialize(System.IO.Stream,System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(System.IO.Stream):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(System.IO.Stream,System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.IFormatter.Deserialize(System.IO.Stream):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.IFormatter.Serialize(System.IO.Stream,System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.DoFixups:[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RaiseOnDeserializingEvent(System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64,System.Runtime.Serialization.SerializationInfo,System.Int64,System.Reflection.MemberInfo,System.Int32[]):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64,System.Runtime.Serialization.SerializationInfo,System.Int64,System.Reflection.MemberInfo):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64,System.Runtime.Serialization.SerializationInfo):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.SerializationObjectManager.RegisterObject(System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Target>M:System.Type.GetEnumValues:[T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
|
@ -2761,6 +2617,12 @@
|
|||
<Left>net7.0/System.Linq.Queryable.dll</Left>
|
||||
<Right>net8.0/System.Linq.Queryable.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Type.GetEnumValues:[T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.dll</Left>
|
||||
<Right>net8.0/System.Runtime.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>T:System.Runtime.InteropServices.Marshalling.NativeMarshallingAttribute:[T:System.AttributeUsageAttribute]</Target>
|
||||
|
@ -2779,100 +2641,4 @@
|
|||
<Left>net7.0/System.Runtime.Loader.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Loader.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.Formatter.Deserialize(System.IO.Stream):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.Serialization.Formatters.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Serialization.Formatters.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.Formatter.Serialize(System.IO.Stream,System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.Serialization.Formatters.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Serialization.Formatters.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(System.IO.Stream):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.Serialization.Formatters.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Serialization.Formatters.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(System.IO.Stream,System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.Serialization.Formatters.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Serialization.Formatters.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.IFormatter.Deserialize(System.IO.Stream):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.Serialization.Formatters.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Serialization.Formatters.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.IFormatter.Serialize(System.IO.Stream,System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.Serialization.Formatters.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Serialization.Formatters.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.DoFixups:[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.Serialization.Formatters.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Serialization.Formatters.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RaiseOnDeserializingEvent(System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.Serialization.Formatters.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Serialization.Formatters.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64,System.Runtime.Serialization.SerializationInfo,System.Int64,System.Reflection.MemberInfo,System.Int32[]):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.Serialization.Formatters.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Serialization.Formatters.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64,System.Runtime.Serialization.SerializationInfo,System.Int64,System.Reflection.MemberInfo):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.Serialization.Formatters.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Serialization.Formatters.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64,System.Runtime.Serialization.SerializationInfo):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.Serialization.Formatters.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Serialization.Formatters.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.ObjectManager.RegisterObject(System.Object,System.Int64):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.Serialization.Formatters.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Serialization.Formatters.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Runtime.Serialization.SerializationObjectManager.RegisterObject(System.Object):[T:System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.Serialization.Formatters.dll</Left>
|
||||
<Right>net8.0/System.Runtime.Serialization.Formatters.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Type.GetEnumValues:[T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute]</Target>
|
||||
<Left>net7.0/mscorlib.dll</Left>
|
||||
<Right>net8.0/mscorlib.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Type.GetEnumValues:[T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute]</Target>
|
||||
<Left>net7.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>M:System.Type.GetEnumValues:[T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute]</Target>
|
||||
<Left>net7.0/System.Runtime.dll</Left>
|
||||
<Right>net8.0/System.Runtime.dll</Right>
|
||||
</Suppression>
|
||||
</Suppressions>
|
|
@ -2761,22 +2761,10 @@
|
|||
<Left>netstandard2.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>T:System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute:[T:System.AttributeUsageAttribute]</Target>
|
||||
<Left>netstandard2.0/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>P:System.Timers.Timer.Interval:[T:System.ComponentModel.DefaultValueAttribute]</Target>
|
||||
<Left>netstandard2.0/System.dll</Left>
|
||||
<Right>net8.0/System.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>T:System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute:[T:System.AttributeUsageAttribute]</Target>
|
||||
<Left>netstandard2.0/System.dll</Left>
|
||||
<Right>net8.0/System.dll</Right>
|
||||
</Suppression>
|
||||
</Suppressions>
|
|
@ -853,12 +853,6 @@
|
|||
<Left>netstandard2.1/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>T:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute:[T:System.AttributeUsageAttribute]</Target>
|
||||
<Left>netstandard2.1/netstandard.dll</Left>
|
||||
<Right>net8.0/netstandard.dll</Right>
|
||||
</Suppression>
|
||||
<Suppression>
|
||||
<DiagnosticId>CP0015</DiagnosticId>
|
||||
<Target>T:System.Runtime.InteropServices.ManagedToNativeComInteropStubAttribute:[T:System.AttributeUsageAttribute]</Target>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue