Move NET_4_0 define checks at the right position under the licence text
[mono.git] / mcs / class / corlib / System.Threading / Timeout.cs
old mode 100755 (executable)
new mode 100644 (file)
index 6bcb7ac..f279307
@@ -5,10 +5,7 @@
 //   Dick Porter (dick@ximian.com)
 //
 // (C) Ximian, Inc.  http://www.ximian.com
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
+
+namespace System.Threading {
 
-namespace System.Threading
-{
-       public sealed class Timeout
-       {
-               private Timeout () {}
+       [ComVisible (true)]
+       public static class Timeout {
                public const int Infinite=-1;
        }
 }