diff options
author | Jeremy Kuhne <jeremy.kuhne@microsoft.com> | 2016-10-25 21:52:41 -0700 |
---|---|---|
committer | Jeremy Kuhne <jeremy.kuhne@microsoft.com> | 2016-10-28 11:52:18 -0700 |
commit | 5a7fb90eb479450cd5671e4531336dea7c072492 (patch) | |
tree | f7c54d4f2c562ab4f4df5942cd2eabed59b43069 /clr.coreclr.props | |
parent | 22303a95a5320c4a339fe36c21ffaa9e59ffb08f (diff) | |
download | coreclr-5a7fb90eb479450cd5671e4531336dea7c072492.tar.gz coreclr-5a7fb90eb479450cd5671e4531336dea7c072492.tar.bz2 coreclr-5a7fb90eb479450cd5671e4531336dea7c072492.zip |
Copy CoreFX FileStream to CoreLib
This copies FileStream to CoreLib and uses it in place of the legacy
FileStream. Code is mostly a direct copy with the addition of a few
internal constructor overloads.
Adds a simple Debug wrapper for BCLDebug to allow keeping the code
the same. Also follows the same pattern for SR wrapping.
Needed to bring down PreAllocatedOverlapped.
- Expose FileStream in model.xml
- Remove native usage of FileStreamAsyncResult
- #ifdef SafeFileHandle creation in existing code (to avoid mismatched
PAL/CoreFX usage)
Diffstat (limited to 'clr.coreclr.props')
-rw-r--r-- | clr.coreclr.props | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clr.coreclr.props b/clr.coreclr.props index c136fa5f4e..2627e1b95c 100644 --- a/clr.coreclr.props +++ b/clr.coreclr.props @@ -77,6 +77,9 @@ --> <FeatureImplicitTls Condition="'$(TargetArch)' == 'arm64'">true</FeatureImplicitTls> <FeatureSvrGc Condition="'$(TargetArch)' != 'arm'">true</FeatureSvrGc> + <FeatureCoreFxFileStream>true</FeatureCoreFxFileStream> + <FeatureCoreFxShim>true</FeatureCoreFxShim> + <FeatureCoreFxOverlapped>true</FeatureCoreFxOverlapped> </PropertyGroup> <PropertyGroup Condition="'$(TargetsUnix)' == 'true'"> @@ -102,4 +105,10 @@ <FeatureUseLcid>true</FeatureUseLcid> <FeatureImplicitLongPath>true</FeatureImplicitLongPath> </PropertyGroup> + <PropertyGroup Condition="'$(TargetsUnix)' != 'true' and '$(ClrProduct)' == 'core_clr'"> + <FeatureCoreFxWindowsInterop>true</FeatureCoreFxWindowsInterop> + </PropertyGroup> + <PropertyGroup Condition="'$(TargetsUnix)' == 'true' and '$(ClrProduct)' == 'core_clr'"> + <FeatureCoreFxUnixInterop>true</FeatureCoreFxUnixInterop> + </PropertyGroup> </Project> |