Merge pull request #757 from mlintner/master
[mono.git] / mcs / class / System.Web.Mvc3 / Mvc / Async / OperationCounter.cs
index 5c8e5e5cfee8da1ec56ca9c92906bc3eff4d1910..2c282ce28f51a0c78b4ff828e34dea8bf9282958 100644 (file)
@@ -8,7 +8,7 @@
 
         public int Count {
             get {
-                return Thread.VolatileRead(ref _count);
+                return Volatile.Read(ref _count);
             }
         }