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