Skip to content

Commit

Permalink
Always use the API suppressions for System.Threading
Browse files Browse the repository at this point in the history
  • Loading branch information
radekdoulik committed Jan 10, 2024
1 parent 8398959 commit abf27e0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/libraries/System.Threading/src/System.Threading.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,8 @@
Link="Common\System\Obsoletions.cs" />
</ItemGroup>

<ItemGroup Condition="'$(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.Threading.WebAssembly.Threading
so we need to baseline the ApiCompat errors related to that. -->
<ApiCompatSuppressionFile Include="$(MSBuildThisFileDirectory)CompatibilitySuppressions.Threading.xml" />
</ItemGroup>

<ItemGroup>
<ApiCompatSuppressionFile Include="$(MSBuildThisFileDirectory)CompatibilitySuppressions.Threading.xml" />
<ProjectReference Include="$(CoreLibProject)" />
</ItemGroup>

Expand Down

0 comments on commit abf27e0

Please sign in to comment.