87 references to PlatformDetection
System.Drawing.Common.Tests (73)
mono\System.Drawing.Imaging\BmpCodecTests.cs (2)
236
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
mono\System.Drawing.Imaging\GifCodecTests.cs (2)
104
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
mono\System.Drawing.Imaging\IconCodecTests.cs (10)
127
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
323
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
541
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
745
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
1520
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
mono\System.Drawing.Imaging\JpegCodecTests.cs (4)
39
public static bool IsWindows7OrIsArm64Process =>
PlatformDetection
.IsWindows7 ||
PlatformDetection
.IsArm64Process;
224
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
mono\System.Drawing.Imaging\TiffCodecTests.cs (2)
114
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
mono\System.Drawing\BitmapTests.cs (14)
554
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
568
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
594
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
610
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
623
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
649
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
664
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
mono\System.Drawing\GraphicsTests.cs (3)
2192
if (
PlatformDetection
.IsArmOrArm64Process)
2226
if (
PlatformDetection
.IsArmOrArm64Process)
2271
if (
PlatformDetection
.IsArmOrArm64Process)
System\Drawing\BitmapTests.cs (6)
727
if (
PlatformDetection
.IsWindows7)
732
if (
PlatformDetection
.IsArmOrArm64Process)
1059
[Theory(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
1461
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotArm64Process))] // [ActiveIssue("https://github.com/dotnet/winforms/issues/8817")]
System\Drawing\CharacterRangeTests.cs (1)
69
if (!
PlatformDetection
.IsNetFramework)
System\Drawing\Drawing2D\BlendTests.cs (2)
32
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotIntMaxValueArrayIndexSupported))]
System\Drawing\Drawing2D\ColorBlendTests.cs (2)
32
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotIntMaxValueArrayIndexSupported))]
System\Drawing\FontConverterTests.cs (3)
18
if (
PlatformDetection
.IsWindows)
82
[Fact(Skip = "Condition not met", SkipType = typeof(
PlatformDetection
), SkipUnless = nameof(
PlatformDetection
.IsNotBuiltWithAggressiveTrimming))]
System\Drawing\FontTests.cs (4)
438
if (
PlatformDetection
.IsWindows7)
569
if (
PlatformDetection
.IsWindows7 ||
PlatformDetection
.IsWindows8x)
596
if (
PlatformDetection
.IsNetFramework)
System\Drawing\GraphicsTests.cs (3)
17
public static bool IsWindows7OrWindowsArm64 =>
PlatformDetection
.IsWindows7 || (
PlatformDetection
.IsWindows &&
PlatformDetection
.IsArm64Process);
System\Drawing\IconConverterTests.cs (2)
10
[ConditionalClass(typeof(
PlatformDetection
), nameof(
PlatformDetection
.IsNotWindowsIoTCore))]
System\Drawing\IconTests.cs (5)
179
PlatformDetection
.IsNetFramework ? typeof(Win32Exception) : typeof(ArgumentException)
197
PlatformDetection
.IsNetFramework ? typeof(Win32Exception) : typeof(ArgumentException)
388
if (
PlatformDetection
.IsNetFramework)
484
if (
PlatformDetection
.IsNetFramework)
757
string fieldName =
PlatformDetection
.IsNetFramework ? "bitDepth" : "s_bitDepth";
System\Drawing\ImageTests.cs (2)
520
if (
PlatformDetection
.IsNetFramework)
645
if (
PlatformDetection
.IsNetFramework)
System\Drawing\SystemFontsTests.cs (1)
87
if (!
PlatformDetection
.IsWindows7)
System\Drawing\Text\PrivateFontCollectionTests.cs (5)
21
if (
PlatformDetection
.IsWindows7)
38
if (
PlatformDetection
.IsWindows7)
55
if (
PlatformDetection
.IsWindows7)
72
if (
PlatformDetection
.IsWindows7)
168
if (
PlatformDetection
.IsWindows)
System.Windows.Forms.Tests (5)
System\Windows\Forms\Application.ParkingWindowTests.cs (4)
63
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)
98
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)
133
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)
166
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)
System\Windows\Forms\MixedDpiHostingTests.cs (1)
14
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)
System.Windows.Forms.UI.IntegrationTests (9)
Dpi\FormDpiTests.cs (7)
20
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)
57
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)
91
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)
127
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)
163
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)
195
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)
223
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)
Dpi\SplitContainerTests.cs (1)
34
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)
Dpi\ToolStripItemTests.Dpi.cs (1)
22
if (!
PlatformDetection
.IsWindows10Version1803OrGreater)