1 write to Analyzer
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticAnalyzerAction.cs (1)
17Analyzer = analyzer;
24 references to Analyzer
Microsoft.CodeAnalysis (24)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
1488var actionsByAnalyzers = analyzerActions.GroupBy(action => action.Analyzer);
DiagnosticAnalyzer\AnalyzerDriver.GroupedAnalyzerActionsForAnalyzer.cs (2)
45Debug.Assert(action.Analyzer == analyzer); 64return actions.WhereAsArray((action, analyzer) => action.Analyzer == analyzer, analyzer);
DiagnosticAnalyzer\AnalyzerExecutor.cs (21)
229startAction.Analyzer, 262Debug.Assert(startAction.Analyzer == symbolScope.Analyzer); 269startAction.Analyzer, 336endAction.Analyzer, 390symbolAction.Analyzer, 492symbolAction.Analyzer, 538semanticModelAction.Analyzer, 586syntaxTreeAction.Analyzer, 625additionalFileAction.Analyzer, 647Debug.Assert(!isGeneratedCode || !_shouldSkipAnalysisOnGeneratedCode(syntaxNodeAction.Analyzer)); 648Debug.Assert(!IsAnalyzerSuppressedForTree(syntaxNodeAction.Analyzer, node.SyntaxTree, cancellationToken)); 654syntaxNodeAction.Analyzer, 672Debug.Assert(!isGeneratedCode || !_shouldSkipAnalysisOnGeneratedCode(operationAction.Analyzer)); 673Debug.Assert(!IsAnalyzerSuppressedForTree(operationAction.Analyzer, semanticModel.SyntaxTree, cancellationToken)); 678operationAction.Analyzer, 799var codeBlockScope = new HostCodeBlockStartAnalysisScope<TLanguageKindEnum>(startAction.Analyzer); 805startAction.Analyzer, 821var operationBlockScope = new HostOperationBlockStartAnalysisScope(startAction.Analyzer); 828startAction.Analyzer, 897codeBlockAction.Analyzer, 912operationBlockAction.Analyzer,