Fix the mobile build
[mono.git] / mcs / class / corlib / System.Threading / SpinLock.cs
index 3d9b90cdc156f6770b97e4b21e9d4d5ec7e41383..a14899c6d1902cd4272eca518c160d38d0506dd7 100644 (file)
@@ -169,6 +169,7 @@ namespace System.Threading
                } while (!stop && (millisecondsTimeout == -1 || (sw.ElapsedMilliseconds - start) < millisecondsTimeout));
                }
 
+               [ReliabilityContract (Consistency.WillNotCorruptState, Cer.Success)]
                public void Exit ()
                {
                        Exit (false);