Merge pull request #409 from Alkarex/patch-1
[mono.git] / mcs / class / corlib / System.Threading / SpinLock.cs
index 7666e17e496388e669e598b1a39680179e0393d8..683c98374180e2dad7e7a2160cda1144ccfeabee 100644 (file)
@@ -57,7 +57,7 @@ namespace System.Threading
                int threadWhoTookLock;
                readonly bool isThreadOwnerTrackingEnabled;
 
-               static Watch sw = Watch.StartNew ();
+               static readonly Watch sw = Watch.StartNew ();
 
                ConcurrentOrderedList<int> stallTickets;