diff options
author | Wraith <wraith2@gmail.com> | 2022-02-20 08:50:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-20 08:50:14 +0300 |
commit | ddb22ef2ac96ed31cfd85782d1c38b1523642aaa (patch) | |
tree | 4a75505e91a1492607941b80f9f920b439b5e6b2 /eng/generators.targets | |
parent | 7345109fc3f4726611cd02ec3e522f4bc42f3a16 (diff) |
Remove S.R.CS.Unsafe and Intrinsify Unsafe (#64861)
* private assemblies moved from Internal to System Runtime.CompilerServices
* reformat existing unsafe vm intrinsics
* implement Copy, CopyBlock, CopyBlockUnaligned, InitBlock, InitBlockUnaligned, Unbox, Add, Subtract, SubtractByteOffset
* remove System.Runtime.CompilerServices.Unsafe il project and replace with forward only cs project
* change all ilproj references to csproj
* remove nativeaot Unsafe
* add conditional package reference for S.R.CS.Unsafe on netcoreapp 6.0
* regenerate solutions
* mono interp
* [mono][interp] Implement Copy and Unbox intrinsics
* [mono][jit] Implement Copy and Unbox intrinsics
Co-authored-by: Vlad Brezae <brezaevlad@gmail.com>
Diffstat (limited to 'eng/generators.targets')
-rw-r--r-- | eng/generators.targets | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/eng/generators.targets b/eng/generators.targets index 843842937ef..d73019014a8 100644 --- a/eng/generators.targets +++ b/eng/generators.targets @@ -57,9 +57,6 @@ '$(MSBuildProjectName)' == 'System.Private.CoreLib' or '$(EnableDllImportGenerator)' == 'true' or ('@(Reference)' != '' - and (@(Reference->AnyHaveMetadataValue('Identity', 'System.Runtime.CompilerServices.Unsafe')) - or ('@(ProjectReference)' != '' - and @(ProjectReference->AnyHaveMetadataValue('Identity', $([MSBuild]::NormalizePath('$(LibrariesProjectRoot)', 'System.Runtime.CompilerServices.Unsafe', 'src', 'System.Runtime.CompilerServices.Unsafe.ilproj')))))) and @(Reference->AnyHaveMetadataValue('Identity', 'System.Memory'))) or ('@(ProjectReference)' != '' and @(ProjectReference->AnyHaveMetadataValue('Identity', '$(CoreLibProject)'))))" Include="$(LibrariesProjectRoot)Common\src\System\Runtime\InteropServices\ArrayMarshaller.cs" /> @@ -77,13 +74,6 @@ <PropertyGroup> <DllImportGenerator_UseMarshalType>true</DllImportGenerator_UseMarshalType> </PropertyGroup> - <!-- Projects that directly reference System.Private.CoreLib are typically low level enough that they don't reference - System.Runtime.CompilerServices.Unsafe, so we use the Unsafe type defined in CoreLib (Internal.Runtime.CompilerServices.Unsafe) for these projects. --> - <PropertyGroup Condition="'$(MSBuildProjectName)' == 'System.Private.CoreLib' or - ('@(ProjectReference)' != '' and @(ProjectReference->AnyHaveMetadataValue('Identity', '$(CoreLibProject)')))"> - <DllImportGenerator_UseInternalUnsafeType>true</DllImportGenerator_UseInternalUnsafeType> - <DefineConstants>$(DefineConstants);DLLIMPORTGENERATOR_INTERNALUNSAFE</DefineConstants> - </PropertyGroup> </Target> <Import Project="$(LibrariesProjectRoot)System.Runtime.InteropServices/gen/DllImportGenerator/Microsoft.Interop.DllImportGenerator.props" /> |