10 references to IsHeldByCurrentThread
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Threading\Condition.cs (6)
61
Debug.Assert(_lock.
IsHeldByCurrentThread
);
74
Debug.Assert(_lock.
IsHeldByCurrentThread
);
103
if (!_lock.
IsHeldByCurrentThread
)
125
Debug.Assert(_lock.
IsHeldByCurrentThread
);
149
if (!_lock.
IsHeldByCurrentThread
)
158
if (!_lock.
IsHeldByCurrentThread
)
src\libraries\System.Private.CoreLib\src\System\Threading\Lock.cs (2)
322
Debug.Assert(
IsHeldByCurrentThread
);
339
Debug.Assert(!
IsHeldByCurrentThread
);
src\System\Threading\Monitor.CoreCLR.cs (1)
119
return GetLockObject(obj).
IsHeldByCurrentThread
;
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\OpenSslCrlCache.cs (1)
611
Debug.Assert(_lock.
IsHeldByCurrentThread
);