11 references to WhenInitializedTask
Microsoft.CodeAnalysis (11)
DiagnosticAnalyzer\AnalyzerDriver.cs (7)
386/// It kicks off the <see cref="WhenInitializedTask"/> task for initialization. 625/// <remarks>Driver must be initialized before invoking this method, i.e. <see cref="Initialize(AnalyzerExecutor, DiagnosticQueue, CompilationData, ConcurrentSet{string}, CancellationToken)"/> method must have been invoked and <see cref="WhenInitializedTask"/> must be non-null.</remarks> 657/// <remarks>Driver must be initialized before invoking this method, i.e. <see cref="Initialize(AnalyzerExecutor, DiagnosticQueue, CompilationData, ConcurrentSet{string}, CancellationToken)"/> method must have been invoked and <see cref="WhenInitializedTask"/> must be non-null.</remarks> 692await WhenInitializedTask.ConfigureAwait(false); 694if (WhenInitializedTask.IsFaulted) 696OnDriverException(WhenInitializedTask, this.AnalyzerExecutor, analysisScope.Analyzers); 698else if (!WhenInitializedTask.IsCanceled)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (4)
635Debug.Assert(!driver.WhenInitializedTask.IsCanceled); 752await driver.WhenInitializedTask.ConfigureAwait(false); 1090await driver.WhenInitializedTask.ConfigureAwait(false); 1114if (!driver.IsInitialized || driver.WhenInitializedTask.IsCanceled)