Merge branch 'master' of github.com:mono/mono
[mono.git] / mcs / class / corlib / System.Threading / ExecutionContextSwitcher.cs
index ea3a1faabec063e6b536624e4f96067507199f19..176a01315af99ffdf57caf55e63f89da36969545 100644 (file)
@@ -28,7 +28,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
 
 using System.Runtime.ConstrainedExecution;
 using System.Runtime.InteropServices;
@@ -63,7 +62,7 @@ namespace System.Threading
                }
                
                [MonoTODO]
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
                public void Undo ()
                {
                        throw new NotImplementedException ();
@@ -77,4 +76,3 @@ namespace System.Threading
        }
 }
 
-#endif