11 references to Read
System (2)
net\System\Net\_AutoWebProxyScriptEngine.cs (1)
733
changeStatus = Volatile.
Read
(ref s_CurrentVersion);
net\System\Net\_PooledStream.cs (1)
556
oldValue = Volatile.
Read
(ref location1);
System.Core (1)
System\Linq\Parallel\QueryOperators\Unary\SingleQueryOperator.cs (1)
180
if (Volatile.
Read
(ref m_totalElementCount.Value) > 1)
System.Data (3)
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (3)
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);
System.Web (5)
AspNetSynchronizationContext.cs (1)
151
if (!AllowAsyncDuringSyncStages && Volatile.
Read
(ref _state.VoidAsyncOutstandingOperationCount) > 0) {
HttpContext.cs (4)
1766
while (Volatile.
Read
(ref _timeoutState) == -1)
1771
get { return (Volatile.
Read
(ref _timeoutState) == 1); }
1784
if (Volatile.
Read
(ref _timeoutState) == 1 && ThreadAbortOnTimeout) { // fast check
1814
if (Volatile.
Read
(ref _timeoutState) != 1 || !ThreadAbortOnTimeout) {