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

Commit

Permalink
Remove managed environment cache (#8604)
Browse files Browse the repository at this point in the history
The PAL already caches- no need to do it in managed.
Fold the code back into Environment.cs.
  • Loading branch information
JeremyKuhne authored and jkotas committed Dec 13, 2016
1 parent 1cfbb8d commit f847295
Show file tree
Hide file tree
Showing 4 changed files with 214 additions and 329 deletions.
2 changes: 0 additions & 2 deletions src/mscorlib/mscorlib.shared.sources.props
Original file line number Diff line number Diff line change
Expand Up @@ -768,14 +768,12 @@
<ItemGroup Condition="'$(TargetsUnix)' == 'true'">
<SafehandleSources Include="$(CoreFxSourcesRoot)\Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs" />
<FileStreamSources Include="$(CoreFxSourcesRoot)\System\IO\FileStream.Unix.cs" />
<SystemSources Include="$(BclSourcesRoot)\System\Environment.Unix.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsUnix)' != 'true'">
<SafehandleSources Include="$(CoreFxSourcesRoot)\Microsoft\Win32\SafeHandles\SafeFileHandle.Windows.cs" />
<FileStreamSources Include="$(CoreFxSourcesRoot)\System\IO\FileStream.Win32.cs" />
<FileStreamSources Include="$(CoreFxSourcesRoot)\System\IO\FileStreamCompletionSource.Win32.cs" />
<FileStreamSources Include="$(CoreFxSourcesRoot)\System\IO\Win32Marshal.cs" />
<SystemSources Include="$(BclSourcesRoot)\System\Environment.Win32.cs" />
</ItemGroup>
<ItemGroup>
<IoSources Include="$(CoreFxSourcesRoot)\System\IO\Path.cs" />
Expand Down
101 changes: 0 additions & 101 deletions src/mscorlib/src/System/Environment.Unix.cs

This file was deleted.

226 changes: 0 additions & 226 deletions src/mscorlib/src/System/Environment.Win32.cs

This file was deleted.

Loading

0 comments on commit f847295

Please sign in to comment.