Remove Thread.[Abort|Suspend|Resume] from TvOS/WatchOS.
[mono.git] / mcs / class / corlib / Test / System.Reflection / MethodInfoTest.cs
index 3c6e3da2ffb6f74955c01a9e2cca04d2fdeaf55b..b8a9de2b3c59a7908974d880877fdf8d4bcd2fb3 100644 (file)
@@ -205,6 +205,7 @@ namespace MonoTests.System.Reflection
                        return (int*) 0;
                }
 
+#if MONO_FEATURE_THREAD_ABORT
                [Test] // bug #81538
                public void InvokeThreadAbort ()
                {
@@ -223,6 +224,7 @@ namespace MonoTests.System.Reflection
                {
                        Thread.CurrentThread.Abort ();
                }
+#endif
 
                [Test] // bug #76541
                public void ToStringByRef ()