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