9 references to WhenInitializedTask
Microsoft.CodeAnalysis (9)
DiagnosticAnalyzer\AnalyzerDriver.cs (7)
388
/// It kicks off the <see cref="
WhenInitializedTask
"/> task for initialization.
634
/// <remarks>Driver must be initialized before invoking this method, i.e. <see cref="Initialize(AnalyzerExecutor, DiagnosticQueue, CompilationData, AnalysisScope, ConcurrentSet{string}, CancellationToken)"/> method must have been invoked and <see cref="
WhenInitializedTask
"/> must be non-null.</remarks>
663
/// <remarks>Driver must be initialized before invoking this method, i.e. <see cref="Initialize(AnalyzerExecutor, DiagnosticQueue, CompilationData, AnalysisScope, ConcurrentSet{string}, CancellationToken)"/> method must have been invoked and <see cref="
WhenInitializedTask
"/> must be non-null.</remarks>
698
await
WhenInitializedTask
.ConfigureAwait(false);
700
if (
WhenInitializedTask
.IsFaulted)
702
OnDriverException(
WhenInitializedTask
, this.AnalyzerExecutor, analysisScope.Analyzers, cancellationToken);
704
else if (!
WhenInitializedTask
.IsCanceled)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (2)
383
await driver.
WhenInitializedTask
.ConfigureAwait(false);
733
Debug.Assert(!driver.
WhenInitializedTask
.IsCanceled);