11 references to VolatileRead
Microsoft.CodeAnalysis (1)
Syntax\SyntaxTree.cs (1)
373
if (RoslynImmutableInterlocked.
VolatileRead
(ref _lazyChecksum).IsDefault)
Microsoft.CodeAnalysis.CSharp (10)
Symbols\Attributes\PEAttributeData.cs (2)
101
if (RoslynImmutableInterlocked.
VolatileRead
(in _lazyConstructorArguments).IsDefault || RoslynImmutableInterlocked.
VolatileRead
(in _lazyNamedArguments).IsDefault)
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
583
if (RoslynImmutableInterlocked.
VolatileRead
(in _lazyCustomAttributes).IsDefault)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
932
if (RoslynImmutableInterlocked.
VolatileRead
(in uncommon.lazyCustomAttributes).IsDefault)
1535
if (RoslynImmutableInterlocked.
VolatileRead
(ref _lazyMembersInDeclarationOrder).IsDefault)
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
1093
if (RoslynImmutableInterlocked.
VolatileRead
(in _lazyCustomAttributes).IsDefault)
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
156
if (RoslynImmutableInterlocked.
VolatileRead
(ref _lazyDeclaredConstraintTypes).IsDefault)
Symbols\Source\LocalFunctionSymbol.cs (1)
186
if (!RoslynImmutableInterlocked.
VolatileRead
(in _lazyParameters).IsDefault)
Symbols\SubstitutedMethodSymbol.cs (1)
104
if (!RoslynImmutableInterlocked.
VolatileRead
(ref _lazyTypeParameters).IsDefault)
Symbols\SubstitutedNamedTypeSymbol.cs (1)
104
if (!RoslynImmutableInterlocked.
VolatileRead
(ref _lazyTypeParameters).IsDefault)