-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leverage the shipping, roslyn based ApiCompat in dotnet/runtime (#73263)
* ApiCompat infra changes * Convert baseline to suppression files * ApiCompat.proj * update suppressions * sorted suppressions * rebase and update suppressions * enable attribute and param rules * Enable optional rules * WebAssemblyThreading proj * CompatSuppression for XmlREaderWriter * Enable optional rules correctly... * ThreadPool UnsupportedOSPlatformAttribute * VBCore CP0017 * Migrate all CoreLibs over * Update ApiCompat.proj * Add ApiCompat.proj baselines * Update ApiCompat.proj * Clean-up suppression files with nint/IntPtr fix * Clean-up CoreLib suppression * Update suppression files with latest apicompat fix * Update suppression files * update suppressions * Update suppression files * Clean-up obsolete suppression files * Update suppression files * update suppressions * huge reduction in suppression file size * update suppressions * more suppressions removed * update suppressions * Update dependencies and clean-up * Add suppression files for CoreLib and fix path * Update CoreLib coreclr suppression file * Update coreclr suppression files * Suppression file fixes and Linux path fixes * Update coreclr suppression again) * Fix suppression file path calculation * Fix previous mistake * Diagnostics.Tracing suppression file * Threading suppression file fix * use global suppression for CryptoSignedXmlRecursionException * Add Specification.Tests suppression * Disable NoTargets ref copying * Fix for coreclr build * Avoid duplicate project evals Co-authored-by: smasher164 <akhilindurti@microsoft.com> Co-authored-by: Akhil Indurti <aindurti@gmail.com>
- Loading branch information
1 parent
8ed6b13
commit 960e4d7
Showing
99 changed files
with
8,421 additions
and
1,575 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<Project> | ||
|
||
<!-- Reset the following target to avoid copying references to an output directory. | ||
TODO: Remove when https://github.com/microsoft/MSBuildSdks/pull/395 is merged. --> | ||
<Target Name="CopyFilesToOutputDirectory" /> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
src/coreclr/System.Private.CoreLib/CompatibilitySuppressions.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:Internal.Console</Target> | ||
<Left>ref/net7.0/System.Private.CoreLib.dll</Left> | ||
<Right>lib/net7.0/System.Private.CoreLib.dll</Right> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0001</DiagnosticId> | ||
<Target>T:System.Runtime.CompilerServices.ICastable</Target> | ||
<Left>ref/net7.0/System.Private.CoreLib.dll</Left> | ||
<Right>lib/net7.0/System.Private.CoreLib.dll</Right> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0002</DiagnosticId> | ||
<Target>F:System.Resources.ResourceManager.BaseNameField</Target> | ||
<Left>ref/net7.0/System.Private.CoreLib.dll</Left> | ||
<Right>lib/net7.0/System.Private.CoreLib.dll</Right> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0002</DiagnosticId> | ||
<Target>F:System.Resources.ResourceSet.Reader</Target> | ||
<Left>ref/net7.0/System.Private.CoreLib.dll</Left> | ||
<Right>lib/net7.0/System.Private.CoreLib.dll</Right> | ||
</Suppression> | ||
<Suppression> | ||
<DiagnosticId>CP0014</DiagnosticId> | ||
<Target>M:System.Runtime.InteropServices.Marshal.CreateWrapperOfType(System.Object,System.Type)->object?:[T:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute]</Target> | ||
<Left>ref/net7.0/System.Private.CoreLib.dll</Left> | ||
<Right>lib/net7.0/System.Private.CoreLib.dll</Right> | ||
</Suppression> | ||
</Suppressions> |
5 changes: 0 additions & 5 deletions
5
src/coreclr/System.Private.CoreLib/MatchingRefApiCompatBaseline.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.