5 writes to _lazyPrimaryTask
Microsoft.CodeAnalysis (5)
DiagnosticAnalyzer\AnalyzerDriver.cs (5)
453
_lazyPrimaryTask
= Task.FromCanceled(new CancellationToken(canceled: true));
646
_lazyPrimaryTask
= Task.FromResult(true);
652
_lazyPrimaryTask
??= Task.FromCanceled(new CancellationToken(canceled: true));
677
_lazyPrimaryTask
= ExecutePrimaryAnalysisTaskAsync(analysisScope, usingPrePopulatedEventQueue, cancellationToken)
686
_lazyPrimaryTask
= Task.FromCanceled(new CancellationToken(canceled: true));
3 references to _lazyPrimaryTask
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\AnalyzerDriver.cs (3)
683
if (
_lazyPrimaryTask
== null)
1445
Debug.Assert(
_lazyPrimaryTask
!= null);
1446
return
_lazyPrimaryTask
;