13 writes to _readingCount
System.Data (13)
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (13)
854
Debug.Assert(Volatile.Read(ref
_readingCount
) >= 0, "_readingCount is negative");
855
if (Volatile.Read(ref
_readingCount
) > 0) {
863
SpinWait.SpinUntil(() => Volatile.Read(ref
_readingCount
) == 0);
1949
Interlocked.Increment(ref
_readingCount
);
1959
Interlocked.Decrement(ref
_readingCount
);
1985
Interlocked.Decrement(ref
_readingCount
);
2156
Interlocked.Increment(ref
_readingCount
);
2170
Interlocked.Decrement(ref
_readingCount
);
2294
Interlocked.Increment(ref
_readingCount
);
2301
Interlocked.Decrement(ref
_readingCount
);
2330
Interlocked.Increment(ref
_readingCount
);
2340
Interlocked.Decrement(ref
_readingCount
);
2355
Interlocked.Decrement(ref
_readingCount
);