//
// 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
+