10 references to GetCurrentThreadID
System.Threading (10)
System\Threading\ReaderWriterLock.cs (10)
65public bool IsWriterLockHeld => _writerID == GetCurrentThreadID(); 70if (_writerID == GetCurrentThreadID()) 102else if (_writerID == GetCurrentThreadID()) 284int threadID = GetCurrentThreadID(); 446if (_writerID == GetCurrentThreadID()) 565if (_writerID != GetCurrentThreadID()) 671int threadID = GetCurrentThreadID(); 747int threadID = GetCurrentThreadID(); 875int threadID = GetCurrentThreadID(); 914int threadID = GetCurrentThreadID();