diff --git a/src/Testing/src/xunit/FrameworkSkipConditionAttribute.cs b/src/Testing/src/xunit/FrameworkSkipConditionAttribute.cs index cf64bd2e8b63..7801849f91ed 100644 --- a/src/Testing/src/xunit/FrameworkSkipConditionAttribute.cs +++ b/src/Testing/src/xunit/FrameworkSkipConditionAttribute.cs @@ -32,13 +32,13 @@ private static bool CanRunOnThisFramework(RuntimeFrameworks excludedFrameworks) return true; } -#if NETFRAMEWORK if (excludedFrameworks.HasFlag(RuntimeFrameworks.Mono) && TestPlatformHelper.IsMono) { return false; } +#if NETFRAMEWORK if (excludedFrameworks.HasFlag(RuntimeFrameworks.CLR)) { return false;