Fix warnings in mscorlib's Test suite + bring a couple more tests + fix thread rename...
[mono.git] / mcs / class / corlib / System.Runtime.ConstrainedExecution / PrePrepareMethodAttribute.cs
index da8ddd2d359bb7df00e179090bbadf63c6258a29..d7cb07dd086b2cf1ec92880f0543e23a453e127b 100644 (file)
 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
 //
 
-#if NET_2_0
-
-using System.Runtime.InteropServices;
-
 namespace System.Runtime.ConstrainedExecution
 {
-       [AttributeUsage ((AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct |
-               AttributeTargets.Constructor | AttributeTargets.Method), Inherited=false)]
-       [ComVisible (false)]
+       [AttributeUsage ((AttributeTargets.Constructor | AttributeTargets.Method), Inherited=false)]
         public sealed class PrePrepareMethodAttribute : Attribute
         {
                 public PrePrepareMethodAttribute ()
@@ -42,4 +36,3 @@ namespace System.Runtime.ConstrainedExecution
                 }
         }
 }
-#endif