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