1 write to _lazyCompilationUnitCompletedTrees
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
2599
if (_lazyCompilationUnitCompletedTrees == null) Interlocked.CompareExchange(ref
_lazyCompilationUnitCompletedTrees
, new HashSet<SyntaxTree>(), null);
4 references to _lazyCompilationUnitCompletedTrees
Microsoft.CodeAnalysis.CSharp (4)
Compilation\CSharpCompilation.cs (4)
2599
if (
_lazyCompilationUnitCompletedTrees
== null) Interlocked.CompareExchange(ref _lazyCompilationUnitCompletedTrees, new HashSet<SyntaxTree>(), null);
2600
lock (
_lazyCompilationUnitCompletedTrees
)
2602
if (
_lazyCompilationUnitCompletedTrees
.Add(tree))
2607
if (
_lazyCompilationUnitCompletedTrees
.Count == this.SyntaxTrees.Length)