@@ -1009,7 +1009,7 @@ public static void MakeSureNoCompareToChecksGoOutOfRange_StringComparison()
1009
1009
}
1010
1010
1011
1011
[ Fact ]
1012
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95338" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnOSX ) ) ]
1012
+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95338" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnApplePlatform ) ) ]
1013
1013
public static void CompareToNoMatch_StringComparison ( )
1014
1014
{
1015
1015
for ( int length = 1 ; length < 150 ; length ++ )
@@ -1284,7 +1284,7 @@ public static void ContainsMatchDifferentSpans_StringComparison()
1284
1284
}
1285
1285
1286
1286
[ Fact ]
1287
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95338" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnOSX ) ) ]
1287
+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95338" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnApplePlatform ) ) ]
1288
1288
[ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95471" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnBrowser ) ) ]
1289
1289
public static void ContainsNoMatch_StringComparison ( )
1290
1290
{
@@ -1663,7 +1663,7 @@ public static IEnumerable<object[]> EndsWith_StringComparison_TestData()
1663
1663
yield return new object [ ] { "" , "" , StringComparison . CurrentCulture , true } ;
1664
1664
yield return new object [ ] { "" , "a" , StringComparison . CurrentCulture , false } ;
1665
1665
1666
- if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnOSX )
1666
+ if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnApplePlatform )
1667
1667
yield return new object [ ] { "Hello" , "llo" + SoftHyphen , StringComparison . CurrentCulture , true } ;
1668
1668
1669
1669
// CurrentCultureIgnoreCase
@@ -1675,7 +1675,7 @@ public static IEnumerable<object[]> EndsWith_StringComparison_TestData()
1675
1675
yield return new object [ ] { "" , "" , StringComparison . CurrentCultureIgnoreCase , true } ;
1676
1676
yield return new object [ ] { "" , "a" , StringComparison . CurrentCultureIgnoreCase , false } ;
1677
1677
1678
- if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnOSX )
1678
+ if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnApplePlatform )
1679
1679
yield return new object [ ] { "Hello" , "llo" + SoftHyphen , StringComparison . CurrentCultureIgnoreCase , true } ;
1680
1680
1681
1681
// InvariantCulture
@@ -1688,7 +1688,7 @@ public static IEnumerable<object[]> EndsWith_StringComparison_TestData()
1688
1688
yield return new object [ ] { "" , "" , StringComparison . InvariantCulture , true } ;
1689
1689
yield return new object [ ] { "" , "a" , StringComparison . InvariantCulture , false } ;
1690
1690
1691
- if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnOSX )
1691
+ if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnApplePlatform )
1692
1692
yield return new object [ ] { "Hello" , "llo" + SoftHyphen , StringComparison . InvariantCulture , true } ;
1693
1693
1694
1694
// InvariantCultureIgnoreCase
@@ -1700,7 +1700,7 @@ public static IEnumerable<object[]> EndsWith_StringComparison_TestData()
1700
1700
yield return new object [ ] { "" , "" , StringComparison . InvariantCultureIgnoreCase , true } ;
1701
1701
yield return new object [ ] { "" , "a" , StringComparison . InvariantCultureIgnoreCase , false } ;
1702
1702
1703
- if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnOSX )
1703
+ if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnApplePlatform )
1704
1704
yield return new object [ ] { "Hello" , "llo" + SoftHyphen , StringComparison . InvariantCultureIgnoreCase , true } ;
1705
1705
1706
1706
// Ordinal
@@ -2113,7 +2113,7 @@ public static void EndsWithMatchDifferentSpans_StringComparison()
2113
2113
}
2114
2114
2115
2115
[ Fact ]
2116
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95338" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnOSX ) ) ]
2116
+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95338" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnApplePlatform ) ) ]
2117
2117
public static void EndsWithNoMatch_StringComparison ( )
2118
2118
{
2119
2119
for ( int length = 1 ; length < 150 ; length ++ )
@@ -3199,7 +3199,7 @@ public static void IndexOf_TurkishI_EnglishUSCulture()
3199
3199
}
3200
3200
}
3201
3201
3202
- [ ConditionalFact ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotInvariantGlobalization ) , nameof ( PlatformDetection . IsNotHybridGlobalizationOnOSX ) ) ]
3202
+ [ ConditionalFact ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotInvariantGlobalization ) , nameof ( PlatformDetection . IsNotHybridGlobalizationOnApplePlatform ) ) ]
3203
3203
[ ActiveIssue ( "https://github.com/dotnet/runtime/issues/60568" , TestPlatforms . Android | TestPlatforms . LinuxBionic ) ]
3204
3204
public static void IndexOf_HungarianDoubleCompression_HungarianCulture ( )
3205
3205
{
@@ -4856,7 +4856,7 @@ public static IEnumerable<object[]> StartsWith_StringComparison_TestData()
4856
4856
yield return new object [ ] { "" , "" , StringComparison . CurrentCulture , true } ;
4857
4857
yield return new object [ ] { "" , "hello" , StringComparison . CurrentCulture , false } ;
4858
4858
4859
- if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnOSX )
4859
+ if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnApplePlatform )
4860
4860
{
4861
4861
// "https://github.com/dotnet/runtime/issues/95473"
4862
4862
if ( PlatformDetection . IsNotHybridGlobalizationOnBrowser )
@@ -4872,7 +4872,7 @@ public static IEnumerable<object[]> StartsWith_StringComparison_TestData()
4872
4872
yield return new object [ ] { "" , "" , StringComparison . CurrentCultureIgnoreCase , true } ;
4873
4873
yield return new object [ ] { "" , "hello" , StringComparison . CurrentCultureIgnoreCase , false } ;
4874
4874
4875
- if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnOSX )
4875
+ if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnApplePlatform )
4876
4876
yield return new object [ ] { "Hello" , SoftHyphen + "Hel" , StringComparison . CurrentCultureIgnoreCase , true } ;
4877
4877
4878
4878
// InvariantCulture
@@ -4884,7 +4884,7 @@ public static IEnumerable<object[]> StartsWith_StringComparison_TestData()
4884
4884
yield return new object [ ] { "" , "" , StringComparison . InvariantCulture , true } ;
4885
4885
yield return new object [ ] { "" , "hello" , StringComparison . InvariantCulture , false } ;
4886
4886
4887
- if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnOSX )
4887
+ if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnApplePlatform )
4888
4888
yield return new object [ ] { "Hello" , SoftHyphen + "Hel" , StringComparison . InvariantCulture , true } ;
4889
4889
4890
4890
// InvariantCultureIgnoreCase
@@ -4896,7 +4896,7 @@ public static IEnumerable<object[]> StartsWith_StringComparison_TestData()
4896
4896
yield return new object [ ] { "" , "" , StringComparison . InvariantCultureIgnoreCase , true } ;
4897
4897
yield return new object [ ] { "" , "hello" , StringComparison . InvariantCultureIgnoreCase , false } ;
4898
4898
4899
- if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnOSX )
4899
+ if ( PlatformDetection . IsNotInvariantGlobalization && PlatformDetection . IsNotHybridGlobalizationOnApplePlatform )
4900
4900
yield return new object [ ] { "Hello" , SoftHyphen + "Hel" , StringComparison . InvariantCultureIgnoreCase , true } ;
4901
4901
4902
4902
// Ordinal
@@ -5354,7 +5354,7 @@ private static IEnumerable<object[]> ToLower_Culture_TestData()
5354
5354
}
5355
5355
5356
5356
[ ConditionalFact ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotInvariantGlobalization ) ) ]
5357
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95338" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnOSX ) ) ]
5357
+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95338" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnApplePlatform ) ) ]
5358
5358
[ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95503" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnBrowser ) ) ]
5359
5359
public static void Test_ToLower_Culture ( )
5360
5360
{
@@ -5871,7 +5871,7 @@ public static IEnumerable<object[]> ToUpper_Culture_TestData()
5871
5871
}
5872
5872
5873
5873
[ ConditionalTheory ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotInvariantGlobalization ) ) ]
5874
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95338" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnOSX ) ) ]
5874
+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95338" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnApplePlatform ) ) ]
5875
5875
[ MemberData ( nameof ( ToUpper_Culture_TestData ) ) ]
5876
5876
[ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95503" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnBrowser ) ) ]
5877
5877
public static void Test_ToUpper_Culture ( string actual , string expected , CultureInfo culture )
@@ -5971,7 +5971,7 @@ public static IEnumerable<object[]> ToUpper_TurkishI_InvariantCulture_MemberData
5971
5971
new KeyValuePair < char , char > ( '\u0130 ' , '\u0130 ' ) ,
5972
5972
new KeyValuePair < char , char > ( '\u0131 ' , '\u0131 ' ) ) ;
5973
5973
5974
- [ ConditionalTheory ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotInvariantGlobalization ) , nameof ( PlatformDetection . IsNotHybridGlobalizationOnOSX ) ) ]
5974
+ [ ConditionalTheory ( typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsNotInvariantGlobalization ) , nameof ( PlatformDetection . IsNotHybridGlobalizationOnApplePlatform ) ) ]
5975
5975
[ MemberData ( nameof ( ToUpper_TurkishI_InvariantCulture_MemberData ) ) ]
5976
5976
[ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95471" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnBrowser ) ) ]
5977
5977
public static void ToUpper_TurkishI_InvariantCulture ( string s , string expected )
@@ -7242,7 +7242,7 @@ public static void StartsWithMatchDifferentSpans_StringComparison()
7242
7242
}
7243
7243
7244
7244
[ Fact ]
7245
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95338" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnOSX ) ) ]
7245
+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/95338" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsHybridGlobalizationOnApplePlatform ) ) ]
7246
7246
public static void StartsWithNoMatch_StringComparison ( )
7247
7247
{
7248
7248
for ( int length = 1 ; length < 150 ; length ++ )
0 commit comments