1 instantiation of AnalyzerExecutor
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerExecutor.cs (1)
124return new AnalyzerExecutor(compilation, analyzerOptions, addNonCategorizedDiagnostic, onAnalyzerException, analyzerExceptionFilter,
48 references to AnalyzerExecutor
Microsoft.CodeAnalysis (47)
Diagnostic\Diagnostic_SimpleDiagnostic.cs (2)
158if (AnalyzerExecutor.IsAnalyzerExceptionDiagnostic(this)) 161return AnalyzerExecutor.AreEquivalentAnalyzerExceptionDiagnostics(this, other);
DiagnosticAnalyzer\AnalyzerDriver.cs (15)
70private AnalyzerExecutor? _lazyAnalyzerExecutor; 71protected AnalyzerExecutor AnalyzerExecutor 392AnalyzerExecutor analyzerExecutor, 510var analyzerExecutor = AnalyzerExecutor.Create( 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> 716private static void OnDriverException(Task faultedTask, AnalyzerExecutor analyzerExecutor, ImmutableArray<DiagnosticAnalyzer> analyzers, CancellationToken cancellationToken) 726var diagnostic = AnalyzerExecutor.CreateDriverExceptionDiagnostic(innerException); 2026AnalyzerExecutor analyzerExecutor, 2227AnalyzerExecutor analyzerExecutor, 2252AnalyzerExecutor analyzerExecutor, 2381AnalyzerExecutor analyzerExecutor, 2458var canHaveExecutableCodeBlock = AnalyzerExecutor.CanHaveExecutableCodeBlock(symbol); 2724var diagnostic = AnalyzerExecutor.CreateDriverExceptionDiagnostic(ex);
DiagnosticAnalyzer\AnalyzerExecutor.cs (2)
67/// Creates <see cref="AnalyzerExecutor"/> to execute analyzer actions with given arguments 98public static AnalyzerExecutor Create(
DiagnosticAnalyzer\AnalyzerManager.AnalyzerExecutionContext.cs (11)
75public Task<HostSessionStartAnalysisScope> GetSessionAnalysisScopeAsync(AnalyzerExecutor analyzerExecutor, CancellationToken cancellationToken) 89static Task<HostSessionStartAnalysisScope> getSessionAnalysisScopeTaskSlowAsync(AnalyzerExecutionContext context, AnalyzerExecutor executor, CancellationToken cancellationToken) 111AnalyzerExecutor analyzerExecutor, 145AnalyzerExecutor analyzerExecutor, 249public ImmutableArray<DiagnosticDescriptor> GetOrComputeDiagnosticDescriptors(DiagnosticAnalyzer analyzer, AnalyzerExecutor analyzerExecutor, CancellationToken cancellationToken) 252public ImmutableArray<SuppressionDescriptor> GetOrComputeSuppressionDescriptors(DiagnosticSuppressor suppressor, AnalyzerExecutor analyzerExecutor, CancellationToken cancellationToken) 257Func<DiagnosticAnalyzer, AnalyzerExecutor, CancellationToken, ImmutableArray<TDescriptor>> computeDescriptorsNoLock, 259AnalyzerExecutor analyzerExecutor, 289AnalyzerExecutor analyzerExecutor, 339var diagnostic = AnalyzerExecutor.CreateAnalyzerExceptionDiagnostic(analyzer, exception); 367AnalyzerExecutor analyzerExecutor,
DiagnosticAnalyzer\AnalyzerManager.cs (14)
60AnalyzerExecutor analyzerExecutor, 72AnalyzerExecutor analyzerExecutor, 98AnalyzerExecutor analyzerExecutor, 111AnalyzerExecutor analyzerExecutor, 133AnalyzerExecutor analyzerExecutor, 142AnalyzerExecutor analyzerExecutor, 168public async ValueTask<AnalyzerActions> GetAnalyzerActionsAsync(DiagnosticAnalyzer analyzer, AnalyzerExecutor analyzerExecutor, CancellationToken cancellationToken) 191AnalyzerExecutor analyzerExecutor, 233public async Task<bool> IsConcurrentAnalyzerAsync(DiagnosticAnalyzer analyzer, AnalyzerExecutor analyzerExecutor, CancellationToken cancellationToken) 243public async Task<GeneratedCodeAnalysisFlags> GetGeneratedCodeAnalysisFlagsAsync(DiagnosticAnalyzer analyzer, AnalyzerExecutor analyzerExecutor, CancellationToken cancellationToken) 254AnalyzerExecutor analyzerExecutor, 266AnalyzerExecutor analyzerExecutor, 273internal bool IsSupportedDiagnostic(DiagnosticAnalyzer analyzer, Diagnostic diagnostic, Func<DiagnosticAnalyzer, bool> isCompilerAnalyzer, AnalyzerExecutor analyzerExecutor, CancellationToken cancellationToken) 302AnalyzerExecutor analyzerExecutor,
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (2)
1241catch (Exception ex) when (AnalyzerExecutor.HandleAnalyzerException(ex, analyzer, info: null, wrappedOnAnalyzerException, analyzerExceptionFilter: null, CancellationToken.None)) 1253catch (Exception ex) when (AnalyzerExecutor.HandleAnalyzerException(ex, suppressor, info: null, wrappedOnAnalyzerException, analyzerExceptionFilter: null, CancellationToken.None))
DiagnosticAnalyzer\CompilerDiagnosticAnalyzer.cs (1)
34builder.Add(AnalyzerExecutor.GetAnalyzerExceptionDiagnosticDescriptor());
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\DiagnosticLocalizationTests.cs (1)
307var analyzerExecutor = AnalyzerExecutor.Create(compilation, AnalyzerOptions.Empty,