2 writes to _threadIdOwningParserLock
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (2)
2670
_threadIdOwningParserLock
= Thread.CurrentThread.ManagedThreadId;
2674
_threadIdOwningParserLock
= -1;
4 references to _threadIdOwningParserLock
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (4)
2662
return
_threadIdOwningParserLock
== Thread.CurrentThread.ManagedThreadId;
2666
Debug.Assert(
_threadIdOwningParserLock
== -1 ||
_threadIdOwningParserLock
== Thread.CurrentThread.ManagedThreadId, "Another thread already claims to own the parser lock");
2672
else if (
_threadIdOwningParserLock
== Thread.CurrentThread.ManagedThreadId) {