2006-07-15 Jonathan Chambers <joncham@gmail.com>
[mono.git] / mcs / class / corlib / System.Runtime.CompilerServices / IsVolatile.cs
index 99a2a9d80b461f8c88b53c9a9474451238a0d703..5e35be3f2cecf015cb7eebde50e316128b08b946 100644 (file)
@@ -1,9 +1,11 @@
 //
 // System.Runtime.CompilerServices.IsVolatile
 //
-// Author: Zoltan Varga (vargaz@gmail.com)
+// Authors:
+//     Duncan Mak  (duncan@ximian.com)
+//     Zoltan Varga (vargaz@gmail.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.
 //
 
-#if NET_2_0
-
-using System;
+using System.Runtime.InteropServices;
 
 namespace System.Runtime.CompilerServices {
 
-       public static class IsVolatile
-       {
+#if NET_2_0
+       [ComVisible (true)]
+       public static class IsVolatile {
+       }
+#else
+       public sealed class IsVolatile {
+               private IsVolatile ()
+               {
+               }
        }
+#endif
 }
 
-#endif
+