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