[mcs] Remove NET_4_5 ifdef from the source files
[mono.git] / mcs / class / corlib / Test / System.Threading / CancellationTokenSourceTest.cs
index 3a80f5ae0d294e288b2c4785045290fb9bc149bc..f5b4dd9a3ba1d029449ab8125eaf508c6710cca2 100644 (file)
@@ -38,7 +38,6 @@ namespace MonoTests.System.Threading
        [TestFixture]
        public class CancellationTokenSourceTest
        {
-#if NET_4_5
 
                [Test]
                public void Ctor_Invalid ()
@@ -100,7 +99,6 @@ namespace MonoTests.System.Threading
                        Assert.AreEqual (0, called, "#1");
                }
 
-#endif
 
                [Test]
                public void Token ()
@@ -345,13 +343,11 @@ namespace MonoTests.System.Threading
                        } catch (ObjectDisposedException) {
                        }
 
-#if NET_4_5
                        try {
                                cts.CancelAfter (1);
                                Assert.Fail ("#6");
                        } catch (ObjectDisposedException) {
                        }
-#endif
                }
 
                [Test]
@@ -478,7 +474,6 @@ namespace MonoTests.System.Threading
                        }
                }
 
-#if NET_4_5
                [Test]
                public void DisposeRace ()
                {
@@ -490,7 +485,6 @@ namespace MonoTests.System.Threading
                                c1.Dispose ();
                        }
                }
-#endif
        }
 }