From 30cd78a9a7c1dc0a2b43e31ce6f34ca0082612e0 Mon Sep 17 00:00:00 2001 From: Ilya Date: Tue, 1 Aug 2017 00:08:27 +0400 Subject: [PATCH] Cleanup '#if CORE' in GetComputerInfoCommand.cs (#4401) --- .../commands/management/GetComputerInfoCommand.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs index 65b8f5569..bc1a97c92 100644 --- a/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Management/commands/management/GetComputerInfoCommand.cs @@ -5107,17 +5107,10 @@ namespace Microsoft.PowerShell.Commands { private static class PInvokeDllNames { -#if CORECLR public const string GetPhysicallyInstalledSystemMemoryDllName = "api-ms-win-core-sysinfo-l1-2-1.dll"; public const string LCIDToLocaleNameDllName = "kernelbase.dll"; public const string PowerDeterminePlatformRoleExDllName = "api-ms-win-power-base-l1-1-0.dll"; public const string GetFirmwareTypeDllName = "api-ms-win-core-kernel32-legacy-l1-1-1"; -#else - public const string GetPhysicallyInstalledSystemMemoryDllName = "kernel32.dll"; - public const string LCIDToLocaleNameDllName = "kernel32.dll"; - public const string PowerDeterminePlatformRoleExDllName = "Powrprof.dll"; - public const string GetFirmwareTypeDllName = "kernel32.dll"; -#endif } public const int LOCALE_NAME_MAX_LENGTH = 85;