13 references to Read
mscorlib (7)
system\collections\concurrent\PartitionerStatic.cs (2)
1141
long oldSharedIndex = Volatile.
Read
(ref m_sharedIndex.Value);
1183
return Volatile.
Read
(ref m_sharedIndex.Value) >= SourceCount - 1;
system\runtime\memoryfailpoint.cs (2)
102
get { return Volatile.
Read
(ref hiddenLastKnownFreeAddressSpace); }
113
get { return Volatile.
Read
(ref hiddenLastTimeCheckingAddressSpace); }
system\runtime\remoting\lifetimeservices.cs (1)
47
return TimeSpan.FromTicks(Volatile.
Read
(ref ticks));
system\sharedstatics.cs (2)
145
Contract.Assert(Volatile.
Read
(ref _sharedStatics._memFailPointReservedMemory) >= 0, "Process-wide MemoryFailPoint reserved memory was negative!");
146
return (ulong) Volatile.
Read
(ref _sharedStatics._memFailPointReservedMemory);
System (2)
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
932
long tickDelta = (DateTime.Now.Ticks - Volatile.
Read
(ref LastInstanceLifetimeSweepTick));
sys\system\threading\Barrier.cs (1)
201
get { return Volatile.
Read
(ref m_currentPhase); }
System.Web (4)
HttpContext.cs (4)
1702
long ticks = Volatile.
Read
(ref _timeoutTicks);
1750
if (Volatile.
Read
(ref _timeoutStartTimeUtcTicks) == -1) {
1785
long expirationUtcTicks = Volatile.
Read
(ref _timeoutStartTimeUtcTicks) + Timeout.Ticks; // don't care about overflow
1819
long expirationUtcTicks = Volatile.
Read
(ref _timeoutStartTimeUtcTicks) + Timeout.Ticks; // don't care about overflow