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