diff --git a/src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/PosixSignalRegistrationTests.Unix.cs b/src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/PosixSignalRegistrationTests.Unix.cs index e08d77565513a1..4b0c9fc01dea3a 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/PosixSignalRegistrationTests.Unix.cs +++ b/src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/PosixSignalRegistrationTests.Unix.cs @@ -14,19 +14,13 @@ public partial class PosixSignalRegistrationTests { public static IEnumerable UninstallableSignals() { - if (PlatformDetection.IsNotMobile) - { - yield return new object[] { (PosixSignal)9 }; - } + yield return new object[] { (PosixSignal)9 }; } public static IEnumerable SupportedSignals() { - if (PlatformDetection.IsNotMobile) - { - foreach (PosixSignal value in Enum.GetValues(typeof(PosixSignal))) - yield return new object[] { value }; - } + foreach (PosixSignal value in Enum.GetValues(typeof(PosixSignal))) + yield return new object[] { value }; } public static IEnumerable UnsupportedSignals()