diff --git a/src/System.Management.Automation/CoreCLR/CorePsExtensions.cs b/src/System.Management.Automation/CoreCLR/CorePsExtensions.cs index f6fb21d0b3..ec69e4fa4c 100644 --- a/src/System.Management.Automation/CoreCLR/CorePsExtensions.cs +++ b/src/System.Management.Automation/CoreCLR/CorePsExtensions.cs @@ -3,8 +3,6 @@ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ -#if CORECLR - using System.Globalization; using System.Linq; using System.Reflection; @@ -1679,5 +1677,3 @@ namespace Microsoft.PowerShell.CoreCLR } #endif - -#endif diff --git a/src/System.Management.Automation/CoreCLR/CorePsStub.cs b/src/System.Management.Automation/CoreCLR/CorePsStub.cs index e17511684a..319e359ffa 100644 --- a/src/System.Management.Automation/CoreCLR/CorePsStub.cs +++ b/src/System.Management.Automation/CoreCLR/CorePsStub.cs @@ -12,8 +12,6 @@ using System.Diagnostics.CodeAnalysis; using Microsoft.Win32; using System.Management.Automation.Remoting; -#if CORECLR - #pragma warning disable 1591, 1572, 1571, 1573, 1587, 1570, 0067 #region CLR_STUBS @@ -1874,5 +1872,3 @@ namespace System #pragma warning restore 1591, 1572, 1571, 1573, 1587, 1570, 0067 #endif - -#endif