diff options
author | Elinor Fung <elfung@microsoft.com> | 2022-04-19 20:15:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 20:15:48 +0300 |
commit | 0b39dee3cfe7c7e8c7ea2a55c9f48f4f541500b1 (patch) | |
tree | 5e58ca43dff583357c823871f87dc2c875986d80 /eng/generators.targets | |
parent | 4881a639e7c3f27b5a8d2d160e234d8055333cda (diff) |
Expose ArrayMarshaller and PointerArrayMarshaller (#68173)
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 5d806b69a18..f830dbd52f2 100644 --- a/eng/generators.targets +++ b/eng/generators.targets @@ -50,16 +50,6 @@ Include="$(CoreLibSharedDir)System\Runtime\InteropServices\LibraryImportAttribute.cs" /> <Compile Condition="'$(NetCoreAppCurrentTargetFrameworkMoniker)' != '$(TargetFrameworkMoniker)'" Include="$(CoreLibSharedDir)System\Runtime\InteropServices\StringMarshalling.cs" /> - - <!-- Only add the following files if we are on the latest TFM (that is, net7) and the project is SPCL or has references to System.Runtime.CompilerServices.Unsafe and System.Memory --> - <Compile Condition="'$(NetCoreAppCurrentTargetFrameworkMoniker)' == '$(TargetFrameworkMoniker)' - and ( - '$(MSBuildProjectName)' == 'System.Private.CoreLib' - or '$(EnableLibraryImportGenerator)' == 'true' - or ('@(Reference)' != '' - and @(Reference->AnyHaveMetadataValue('Identity', 'System.Memory'))) - or ('@(ProjectReference)' != '' - and @(ProjectReference->AnyHaveMetadataValue('Identity', '$(CoreLibProject)'))))" Include="$(LibrariesProjectRoot)Common\src\System\Runtime\InteropServices\ArrayMarshaller.cs" /> </ItemGroup> <ItemGroup> |