[bcl] Remove more NET_2_0 checks from class libs
[mono.git] / mcs / class / Managed.Windows.Forms / Test / System.Windows.Forms / SelectionRangeTest.cs
index 01435fb05fa4bfad0b88291b9574b5d635846d2e..a61d73b921a39c6d2c8e3a18e019f99312ff8f3e 100644 (file)
@@ -43,10 +43,8 @@ namespace MonoTests.System.Windows.Forms
                        // "9999-12-31 00:00:00", note not 23:59:59.
                        Assert.AreEqual (DateTime.MaxValue.Date, sr.End, "End");
 
-#if NET_2_0
                        Assert.AreEqual (DateTimeKind.Unspecified, sr.Start.Kind, "Start Kind");
                        Assert.AreEqual (DateTimeKind.Unspecified, sr.End.Kind, "End Kind");
-#endif
                }
 
                [Test]
@@ -90,13 +88,10 @@ namespace MonoTests.System.Windows.Forms
                        SelectionRange sr = new SelectionRange (new DateTime (2001, 1, 11), new DateTime (2008, 2, 17, 1, 2, 3));
                        Assert.AreEqual (new DateTime (2001, 1, 11), sr.Start, "Start");
                        Assert.AreEqual (new DateTime (2008, 2, 17), sr.End, "End");
-#if NET_2_0
                        Assert.AreEqual (DateTimeKind.Unspecified, sr.Start.Kind, "Start Kind");
                        Assert.AreEqual (DateTimeKind.Unspecified, sr.End.Kind, "End Kind");
-#endif
                }
 
-#if NET_2_0
                [Test]
                public void TwoDatesConstructor_WithTimeWithKindLocal ()
                {
@@ -134,7 +129,6 @@ namespace MonoTests.System.Windows.Forms
                        Assert.AreEqual (DateTimeKind.Utc, sr.Start.Kind, "Start Kind");
                        Assert.AreEqual (DateTimeKind.Local, sr.End.Kind, "End Kind");
                }
-#endif
 
        }
 }
\ No newline at end of file