6 references to Read
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2017
var result = (TypeKind)Volatile.
Read
(ref Unsafe.As<TypeKind, byte>(ref _lazyKind));
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Metadata\PE\PETypeParameterSymbol.vb (1)
162
Return CType(Volatile.
Read
(_lazyHasIsUnmanagedConstraint), ThreeState).Value()
System.Net.Quic (2)
System\Net\Quic\Internal\ResettableValueTaskSource.cs (1)
58
public bool IsCompleted => (State)Volatile.
Read
(ref Unsafe.As<State, byte>(ref _state)) == State.Completed;
System\Net\Quic\Internal\ValueTaskSource.cs (1)
41
public bool IsCompleted => (State)Volatile.
Read
(ref Unsafe.As<State, byte>(ref _state)) == State.Completed;
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (1)
575
public static byte VolatileRead(ref byte address) => Volatile.
Read
(ref address);
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Symbolic\SymbolicRegexNode.cs (1)
247
byte b = Volatile.
Read
(ref _nullabilityCache[context]);