Skip to content

Commit

Permalink
Don't reference S.R.C.Unsafe in net7.0 or newer (#71787)
Browse files Browse the repository at this point in the history
* Don't reference S.R.C.Unsafe in net7.0 or newer

Found in dotnet/runtime#96795 (comment)

* Update src/Compilers/Core/Portable/Microsoft.CodeAnalysis.csproj
  • Loading branch information
ViktorHofer authored Jan 24, 2024
1 parent 8ce4351 commit 8ae3538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compilers/Core/Portable/Microsoft.CodeAnalysis.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<PackageReference Include="System.Collections.Immutable" />
<PackageReference Include="System.Memory" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="System.Reflection.Metadata" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'" />
<PackageReference Include="System.Threading.Tasks.Extensions" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="System.Text.Encoding.CodePages" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
</ItemGroup>
Expand Down

0 comments on commit 8ae3538

Please sign in to comment.