9 references to IsWindows
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\Devices\ComputerInfoTests.cs (1)
21
if (PlatformDetection.
IsWindows
)
System.Drawing.Common.Tests (3)
System\Drawing\FontConverterTests.cs (1)
18
if (PlatformDetection.
IsWindows
)
System\Drawing\GraphicsTests.cs (1)
16
public static bool IsWindows7OrWindowsArm64 => PlatformDetection.IsWindows7 || (PlatformDetection.
IsWindows
&& PlatformDetection.IsArm64Process);
System\Drawing\Text\PrivateFontCollectionTests.cs (1)
168
if (PlatformDetection.
IsWindows
)
System.Windows.Forms.Primitives.TestUtilities (5)
PlatformDetection.cs (3)
17
public static bool HasWindowsShell =>
IsWindows
&& IsNotWindowsServerCore && IsNotWindowsNanoServer && IsNotWindowsIoTCore;
43
public static bool IsWinRTSupported =>
IsWindows
&& !IsWindows7;
54
public static bool SupportsAlpn => (
IsWindows
&& !IsWindows7) ||
PlatformDetection.Windows.cs (2)
97
if (!
IsWindows
|| IsWindows7)
150
if (!
IsWindows
|| IsInAppContainer)