diff options
Diffstat (limited to 'mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TestHelper.cs')
-rw-r--r-- | mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TestHelper.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TestHelper.cs b/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TestHelper.cs index 55f8dcf2c2f..0d11647eaac 100644 --- a/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TestHelper.cs +++ b/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/TestHelper.cs @@ -29,7 +29,6 @@ namespace MonoTests.System.Windows.Forms [TearDown] protected virtual void TearDown () { -#if NET_2_0 int c = Application.OpenForms.Count; if (c > 0) { Console.WriteLine ("HEY! You created " + c.ToString () + " form(s) and you didn't dispose of them!"); @@ -38,7 +37,6 @@ namespace MonoTests.System.Windows.Forms for (int i = Application.OpenForms.Count - 1; i >= 0; i--) { Application.OpenForms[i].Dispose (); } -#endif } |