Skip to content

Commit

Permalink
Remove ifdefs from TimeZoneInfo
Browse files Browse the repository at this point in the history
Move Win32 and Unix -specific implementation details to their own files.
  • Loading branch information
justinvp committed Dec 27, 2016
1 parent 3c78f69 commit 95f269d
Show file tree
Hide file tree
Showing 4 changed files with 2,639 additions and 2,590 deletions.
6 changes: 6 additions & 0 deletions src/mscorlib/mscorlib.shared.sources.props
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,12 @@
<SystemSources Condition="'$(FeatureSpanOfT)' == 'true'" Include="$(BclSourcesRoot)\System\Span.cs" />
<SystemSources Condition="'$(FeatureSpanOfT)' == 'true'" Include="$(BclSourcesRoot)\System\ReadOnlySpan.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsUnix)' == 'true'">
<SystemSources Include="$(BclSourcesRoot)\System\TimeZoneInfo.Unix.cs" />
</ItemGroup>
<ItemGroup Condition="'$(TargetsUnix)' != 'true'">
<SystemSources Include="$(BclSourcesRoot)\System\TimeZoneInfo.Win32.cs" />
</ItemGroup>
<ItemGroup>
<InternalSources Condition="'$(FeatureCoreclr)' == 'true'" Include="$(BclSourcesRoot)\Internal\Runtime\Augments\EnvironmentAugments.cs" />
<InternalSources Include="$(BclSourcesRoot)\Internal\Runtime\Augments\RuntimeThread.cs" />
Expand Down
Loading

0 comments on commit 95f269d

Please sign in to comment.