2 writes to _syntaxTreeResultTask
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\Document.cs (2)
97
Interlocked.CompareExchange(ref
_syntaxTreeResultTask
, result, null);
189
Interlocked.CompareExchange(ref
_syntaxTreeResultTask
, Task.FromResult(tree), null);
6 references to _syntaxTreeResultTask
Microsoft.CodeAnalysis.Workspaces (6)
Workspace\Solution\Document.cs (6)
82
if (
_syntaxTreeResultTask
!= null)
84
syntaxTree =
_syntaxTreeResultTask
.Result;
94
if (
_syntaxTreeResultTask
== null)
178
if (
_syntaxTreeResultTask
!= null)
180
return
_syntaxTreeResultTask
.AsNullable();
191
return
_syntaxTreeResultTask
.AsNullable();