2 writes to _syntaxTreeResultTask
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\Document.cs (2)
96
Interlocked.CompareExchange(ref
_syntaxTreeResultTask
, result, null);
188
_ = Interlocked.CompareExchange(ref
_syntaxTreeResultTask
, Task.FromResult(tree), null);
6 references to _syntaxTreeResultTask
Microsoft.CodeAnalysis.Workspaces (6)
Workspace\Solution\Document.cs (6)
81
if (
_syntaxTreeResultTask
!= null)
83
syntaxTree =
_syntaxTreeResultTask
.Result;
93
if (
_syntaxTreeResultTask
== null)
177
if (
_syntaxTreeResultTask
!= null)
179
return await
_syntaxTreeResultTask
.ConfigureAwait(false);
190
return await
_syntaxTreeResultTask
.ConfigureAwait(false);