Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 2142989

Browse files
authored
Move MemoryStream to shared CoreLib partition (#15116)
- Apply formating and other minor changes from CoreRT - Prefer async implementations from CoreCLR since they are more recent and better optimized - Apply similar changes to UnmanagedMemoryStream as well to keep the two close
1 parent 9dd7d6d commit 2142989

File tree

7 files changed

+136
-112
lines changed

7 files changed

+136
-112
lines changed

src/mscorlib/System.Private.CoreLib.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,6 @@
518518
<Compile Include="$(BclSourcesRoot)\System\IO\File.cs" />
519519
<Compile Include="$(BclSourcesRoot)\System\IO\FileLoadException.CoreCLR.cs" />
520520
<Compile Include="$(BclSourcesRoot)\System\IO\FileNotFoundException.CoreCLR.cs" />
521-
<Compile Include="$(BclSourcesRoot)\System\IO\MemoryStream.cs" />
522521
<Compile Include="$(BclSourcesRoot)\System\IO\Stream.cs" />
523522
<Compile Include="$(BclSourcesRoot)\System\IO\UnmanagedMemoryAccessor.cs" />
524523
</ItemGroup>

src/mscorlib/shared/System.Private.CoreLib.Shared.projitems

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@
199199
<Compile Include="$(MSBuildThisFileDirectory)System\IO\FileShare.cs" />
200200
<Compile Include="$(MSBuildThisFileDirectory)System\IO\FileStream.cs" />
201201
<Compile Include="$(MSBuildThisFileDirectory)System\IO\IOException.cs" />
202+
<Compile Include="$(MSBuildThisFileDirectory)System\IO\MemoryStream.cs" />
202203
<Compile Include="$(MSBuildThisFileDirectory)System\IO\Path.cs" />
203204
<Compile Include="$(MSBuildThisFileDirectory)System\IO\PathInternal.cs" />
204205
<Compile Include="$(MSBuildThisFileDirectory)System\IO\PathTooLongException.cs" />

0 commit comments

Comments
 (0)