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