From 256e1a4131a39edf59a9fe34fe20a5cdb9377345 Mon Sep 17 00:00:00 2001 From: iSazonov Date: Mon, 31 Jul 2017 12:08:26 +0300 Subject: [PATCH] Cleanup '#if CORE' in PInvokeDllNames.cs --- .../LocalAccounts/PInvokeDllNames.cs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/PInvokeDllNames.cs b/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/PInvokeDllNames.cs index 289ee19542d..cdc55996036 100644 --- a/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/PInvokeDllNames.cs +++ b/src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/PInvokeDllNames.cs @@ -13,7 +13,6 @@ namespace System.Management.Automation /// internal static class PInvokeDllNames { -#if CORECLR internal const string GetLastErrorDllName = "api-ms-win-core-errorhandling-l1-1-0.dll"; /* 1*/ internal const string LookupAccountSidDllName = "api-ms-win-security-lsalookup-l2-1-1.dll"; /* 2*/ internal const string IsValidSidDllName = "api-ms-win-security-base-l1-2-0.dll"; /* 3*/ @@ -28,21 +27,5 @@ internal static class PInvokeDllNames internal const string SetSecurityDescriptorDaclDllName = "api-ms-win-security-base-l1-2-0"; /*12*/ internal const string FormatMessageDllName = "api-ms-win-core-localization-l1-2-1"; /*13*/ internal const string GetVersionExDllName = "api-ms-win-core-sysinfo-l1-2-1.dll"; /*14*/ -#else - internal const string GetLastErrorDllName = "kernel32.dll"; /* 1*/ - internal const string LookupAccountSidDllName = "advapi32.dll"; /* 2*/ - internal const string IsValidSidDllName = "advapi32.dll"; /* 3*/ - internal const string GetLengthSidDllName = "advapi32.dll"; /* 4*/ - internal const string LsaFreeMemoryDllName = "advapi32.dll"; /* 5*/ - internal const string LsaOpenPolicyDllName = "advapi32.dll"; /* 6*/ - internal const string LsaQueryInformationPolicyDllName = "advapi32.dll"; /* 7*/ - internal const string LsaCloseDllName = "advapi32.dll"; /* 8*/ - internal const string LookupAccountNameDllName = "advapi32.dll"; /* 9*/ - internal const string GetComputerNameDllName = "kernel32.dll"; /*10*/ - internal const string GetSecurityDescriptorDaclDllName = "advapi32.dll"; /*11*/ - internal const string SetSecurityDescriptorDaclDllName = "advapi32.dll"; /*12*/ - internal const string FormatMessageDllName = "kernel32.dll"; /*13*/ - internal const string GetVersionExDllName = "kernel32.dll"; /*14*/ -#endif } }