[bcl] Simplify the check added in 0ab4372189b998f2efec2a9b12ef16bd071916a5.
[mono.git] / mcs / class / corlib / System.Runtime.ConstrainedExecution / ReliabilityContractAttribute.cs
index 00866491cdcd37f129c403860ee35b6fe7d7d084..8f191fd510e51b299962113b837d72c5c3e2f1ba 100644 (file)
@@ -26,8 +26,6 @@
 // Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 
-#if NET_2_0
-
 namespace System.Runtime.ConstrainedExecution
 {
        [AttributeUsage ((AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct |
@@ -37,9 +35,9 @@ namespace System.Runtime.ConstrainedExecution
                 Consistency consistency;
                 Cer cer;
 
-               public ReliabilityContractAttribute (Consistency consistency, Cer cer)
+               public ReliabilityContractAttribute (Consistency consistencyGuarantee, Cer cer)
                 {
-                        this.consistency = consistency;
+                        this.consistency = consistencyGuarantee;
                         this.cer = cer;
                 }
 
@@ -52,4 +50,3 @@ namespace System.Runtime.ConstrainedExecution
                 }
         }
 }
-#endif