[libraries] Extend PlatformDetection.IsOSX to include all Apple OS (#37707)

* [libraries] Replacee IsNotApple with IsApple

* [libraries] Extend PlatformDetection.IsOSX to include all Apple OS

* [libraries] Remove test case from DateTimeFormatInfoData

* [Libraries] Rename IsApple to IsOSXLike

* [libraries] Revert GdiplusTests condition from IsOSXLike to IsOSX

Co-authored-by: Mitchell Hwang <[email protected]>
This commit is contained in:
Mitchell HwangandMitchell Hwang authored and GitHub committed 2020-06-11 10:29:25 -04:00
1 parent c783b1f267
commit ecfc69fb58
14 files changed
+20 -28

No files matched your search

@@ -241,7 +241,7 @@ namespace System.IO.Tests
watcher.Filter = "abc.dll";
Assert.Equal("abc.dll", watcher.Filter);
if (!(PlatformDetection.IsOSX))
if (!PlatformDetection.IsOSXLike)
{
watcher.Filter = "ABC.DLL";
Assert.Equal("ABC.DLL", watcher.Filter);