We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87b719b commit 641b018Copy full SHA for 641b018
src/PowerShellEditorServices/Utility/Utils.cs
@@ -0,0 +1,22 @@
1
+//
2
+// Copyright (c) Microsoft. All rights reserved.
3
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4
5
+
6
+namespace Microsoft.PowerShell.EditorServices
7
+{
8
+ /// <summary>
9
+ /// General purpose common utilities to prevent reimplementation.
10
+ /// </summary>
11
+ internal static class Utils
12
+ {
13
14
+ /// True if we are running on .NET Core, false otherwise.
15
16
+#if CoreCLR
17
+ public static bool IsNetCore { get; } = true;
18
+#else
19
+ public static bool IsNetCore { get; } = false;
20
+#endif
21
+ }
22
+}
0 commit comments