2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / corlib / System.Runtime.CompilerServices / CompilationRelaxationsAttribute.cs
index 81e6616ae5cfc3cdf8f862aa1547b244f228a385..94b516a9568f5897612e5cc0fd296d405f0df678 100644 (file)
@@ -41,6 +41,13 @@ namespace System.Runtime.CompilerServices {
                        relax = relaxations;
                }
 
+#if NET_2_0
+               public CompilationRelaxationsAttribute (CompilationRelaxations relaxations)
+               {
+                       relax = (int)relaxations;
+               }
+#endif
+
                public int CompilationRelaxations {
                        get { return relax; }
                }