Merge pull request #910 from akoeplinger/cleanup-test-ignores
[mono.git] / mcs / class / corlib / System.Threading / CompressedStackSwitcher.cs
index 5641756a89c688b5ed095fb78fd3ec9902ad12ee..7dec8d1771de2cb3cf3f6479b2624c3f6b6ae2bc 100644 (file)
@@ -26,8 +26,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
-
 using System.Globalization;
 using System.Runtime.ConstrainedExecution;
 using System.Runtime.InteropServices;
@@ -65,7 +63,7 @@ namespace System.Threading {
                        // (even between executions).
                }
 
-               [ReliabilityContract (Consistency.WillNotCorruptState, CER.MayFail)]
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.MayFail)]
                public void Undo ()
                {
                        if ((_cs != null) && (_t != null)) {
@@ -102,5 +100,3 @@ namespace System.Threading {
                }
        }
 }
-
-#endif