24 references to RoslynImmutableInterlocked
Microsoft.CodeAnalysis (12)
DiagnosticAnalyzer\AnalyzerDriver.GroupedAnalyzerActionsForAnalyzer.cs (2)
91RoslynImmutableInterlocked.InterlockedInitialize(ref _lazyNodeActionsByKind, AnalyzerExecutor.GetNodeActionsByKind(nodeActions)); 108RoslynImmutableInterlocked.InterlockedInitialize(ref _lazyOperationActionsByKind, AnalyzerExecutor.GetOperationActionsByKind(operationActions));
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
58/// <see cref="RoslynImmutableInterlocked"/> class depends on it, as well as others externally.</para>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+PrivateMarshal.cs (1)
15/// Private helper class for use only by <see cref="RoslynImmutableInterlocked"/> and
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
100var originalDictionary = RoslynImmutableInterlocked.InterlockedExchange(ref _dictionary, default);
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
52/// <see cref="RoslynImmutableInterlocked"/> class depends on it, as well as others externally.</para>
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+PrivateMarshal.cs (1)
15/// Private helper class for use only by <see cref="RoslynImmutableInterlocked"/> and
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
66var originalSet = RoslynImmutableInterlocked.InterlockedExchange(ref _set, default);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (1)
59/// <see cref="RoslynImmutableInterlocked"/> class depends on it, as well as others externally.</para>
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+PrivateMarshal.cs (1)
15/// Private helper class for use only by <see cref="RoslynImmutableInterlocked"/> and
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
76var originalList = RoslynImmutableInterlocked.InterlockedExchange(ref _list, default);
Syntax\SyntaxTree.cs (1)
373if (RoslynImmutableInterlocked.VolatileRead(ref _lazyChecksum).IsDefault)
Microsoft.CodeAnalysis.CSharp (12)
Compilation\CSharpCompilation.cs (3)
1062RoslynImmutableInterlocked.InterlockedInitialize(ref _mappedPathToSyntaxTree, computeMappedPathToSyntaxTree()); 1088RoslynImmutableInterlocked.InterlockedInitialize(ref _contentHashToSyntaxTree, computeHashToSyntaxTree()); 1115RoslynImmutableInterlocked.InterlockedInitialize(ref _pathToSyntaxTree, computePathToSyntaxTree());
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\NamedTypeSymbol.cs (1)
599RoslynImmutableInterlocked.InterlockedInitialize(ref _lazyRequiredMembers, requiredMembers);
Symbols\Source\LocalFunctionSymbol.cs (2)
185if (!RoslynImmutableInterlocked.VolatileRead(in _lazyParameters).IsDefault) 230RoslynImmutableInterlocked.VolatileWrite(ref _lazyParameters, parameters);
Symbols\SubstitutedMethodSymbol.cs (1)
103if (!RoslynImmutableInterlocked.VolatileRead(ref _lazyTypeParameters).IsDefault)
Symbols\SubstitutedNamedTypeSymbol.cs (1)
104if (!RoslynImmutableInterlocked.VolatileRead(ref _lazyTypeParameters).IsDefault)