forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update APICompat to be able to pass in multiple suppression files (do…
…tnet#78610) * Update APICompat to be able to pass in multiple suppression files
- Loading branch information
1 parent
1ab2c4a
commit d5d9954
Showing
8 changed files
with
29 additions
and
29 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
3 changes: 2 additions & 1 deletion
3
src/libraries/System.Threading.Thread/ref/System.Threading.Thread.csproj
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
5 changes: 3 additions & 2 deletions
5
src/libraries/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.csproj
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
18 changes: 11 additions & 7 deletions
18
src/libraries/System.Threading.ThreadPool/src/System.Threading.ThreadPool.csproj
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 |
---|---|---|
@@ -1,15 +1,19 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<IsPartialFacadeAssembly>true</IsPartialFacadeAssembly> | ||
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework> | ||
<IsPartialFacadeAssembly>true</IsPartialFacadeAssembly> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="'$(WasmEnableThreads)' == 'true' or | ||
'$(MonoWasmBuildVariant)' == 'multithread'"> | ||
<!-- when wasm threading is enabled the implementation in CoreLib won't have the UnsupportedOSAttribute for browser, | ||
but this contract still does since we only expose the wasm threading through System.Diagnostics.Threading.ThreadPool.WebAssembly.Threading | ||
so we need to baseline the ApiCompat errors related to that. --> | ||
<ApiCompatSuppressionFile Include="$(MSBuildThisFileDirectory)CompatibilitySuppressions.Threading.xml" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="$(CoreLibProject)" /> | ||
</ItemGroup> | ||
<PropertyGroup Condition="'$(WasmEnableThreads)' == 'true' or '$(MonoWasmBuildVariant)' == 'multithread'"> | ||
<!-- when wasm threading is enabled the implementation in CoreLib won't have the UnsupportedOSAttribute for browser, | ||
but this contract still does since we only expose the wasm threading through System.Diagnostics.Threading.ThreadPool.WebAssembly.Threading | ||
so we need to baseline the ApiCompat errors related to that --> | ||
<CompatibilitySuppressionFilePath>$(MSBuildThisFileDirectory)CompatibilitySuppressions.Threading.xml</CompatibilitySuppressionFilePath> | ||
</PropertyGroup> | ||
|
||
</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