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