Skip to content

Commit 6ed4adc

Browse files
rolfbjarnemarek-safar
authored andcommitted
[System][Test] Only Xamarin.iOS has a synchronization context by default.
This shows up when Xamarin.Mac tests start defining XAMMAC [1] [1]: dotnet/macios#3034
1 parent 22f0977 commit 6ed4adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcs/class/System/Test/System.ComponentModel/AsyncOperationManagerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void SyncContext ()
2626
SynchronizationContext sc1 = new SynchronizationContext ();
2727
SynchronizationContext sc2 = new SynchronizationContext ();
2828

29-
#if MONOTOUCH || XAMMAC
29+
#if MONOTOUCH
3030
Assert.IsNotNull (SynchronizationContext.Current, "A1");
3131
#else
3232
Assert.IsNull (SynchronizationContext.Current, "A1");

0 commit comments

Comments
 (0)