3 writes to myLock
mscorlib (3)
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (3)
1000if (Interlocked.CompareExchange(ref myLock, 1, 0) != 0) 1013if (Interlocked.CompareExchange(ref myLock, 1, 0) == 0) 1020myLock = 0;
4 references to myLock
mscorlib (4)
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (4)
935Contract.Assert(myLock != 0, "Lock must be held"); 955Contract.Assert(myLock != 0, "Lock must be held"); 983Contract.Assert(myLock != 0, "Lock must be held"); 1019Contract.Assert(myLock != 0, "Exiting spin lock that is not held");