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

Delete unnecesary workarounds #27663

Merged
merged 1 commit into from
Mar 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/System.Numerics.Vectors/ref/Configurations.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<BuildConfigurations>
netcoreapp;
uap;
uapaot;
netfx;
$(PackageConfigurations);
</BuildConfigurations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<OutputType>Library</OutputType>
<IsPartialFacadeAssembly>true</IsPartialFacadeAssembly>
<ProjectGuid>{06197EED-FF48-43F3-976D-463839D43E8C}</ProjectGuid>
<DefineConstants Condition="'$(TargetGroup)' == 'uapaot'">$(DefineConstants);uapaot</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netcoreapp-Unix-Release|AnyCPU'" />
Expand Down
8 changes: 0 additions & 8 deletions src/System.Threading.Thread/src/System/Threading/Thread.cs
Original file line number Diff line number Diff line change
Expand Up @@ -272,15 +272,7 @@ public void SetCompressedStack(CompressedStack stack)
throw new InvalidOperationException(SR.Thread_GetSetCompressedStack_NotSupported);
}

#if uapaot
//
// Todo: Remove when we update System.Private.CoreLib for uapaot
// https://github.com/dotnet/corefx/issues/27619
//
public static int GetCurrentProcessorId() => 0;
#else
public static int GetCurrentProcessorId() => RuntimeThread.GetCurrentProcessorId();
#endif
public static AppDomain GetDomain() => AppDomain.CurrentDomain;
public static int GetDomainID() => GetDomain().Id;
public override int GetHashCode() => ManagedThreadId;
Expand Down