mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Exclude the P/invoke code that is not supposed to be in CoreCLR build
This commit is contained in:
1 parent
a746b5d1d2
commit
436b5c9f27
1 file changed
+2
-1
@@ -11,6 +11,7 @@ namespace Microsoft.PowerShell.Commands.Diagnostics.Common
|
||||
|
||||
internal static class CommonUtilities
|
||||
{
|
||||
#if !CORECLR
|
||||
//
|
||||
// StringArrayToString helper converts a string array into a comma-separated string.
|
||||
// Note this has only limited use, individual strings cannot have commas.
|
||||
@@ -111,13 +112,13 @@ namespace Microsoft.PowerShell.Commands.Diagnostics.Common
|
||||
}
|
||||
return formatError;
|
||||
}
|
||||
#endif
|
||||
|
||||
public static ResourceManager GetResourceManager()
|
||||
{
|
||||
// this naming pattern is dictated by the dotnet cli
|
||||
return new ResourceManager("Microsoft.PowerShell.Commands.Diagnostics.resources.GetEventResources", typeof(CommonUtilities).GetTypeInfo().Assembly);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user