8 references to VolatileRead
Microsoft.CodeAnalysis (1)
Syntax\SyntaxTree.cs (1)
373if (RoslynImmutableInterlocked.VolatileRead(ref _lazyChecksum).IsDefault)
Microsoft.CodeAnalysis.CSharp (7)
Symbols\Attributes\PEAttributeData.cs (2)
101if (RoslynImmutableInterlocked.VolatileRead(in _lazyConstructorArguments).IsDefault || RoslynImmutableInterlocked.VolatileRead(in _lazyNamedArguments).IsDefault)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1469if (RoslynImmutableInterlocked.VolatileRead(ref _lazyMembersInDeclarationOrder).IsDefault)
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
156if (RoslynImmutableInterlocked.VolatileRead(ref _lazyDeclaredConstraintTypes).IsDefault)
Symbols\Source\LocalFunctionSymbol.cs (1)
185if (!RoslynImmutableInterlocked.VolatileRead(in _lazyParameters).IsDefault)
Symbols\SubstitutedMethodSymbol.cs (1)
103if (!RoslynImmutableInterlocked.VolatileRead(ref _lazyTypeParameters).IsDefault)
Symbols\SubstitutedNamedTypeSymbol.cs (1)
104if (!RoslynImmutableInterlocked.VolatileRead(ref _lazyTypeParameters).IsDefault)