54 references to DiagnosticAnalysisContextHelpers
Microsoft.CodeAnalysis (54)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
1213DiagnosticAnalysisContextHelpers.VerifyDiagnosticLocationsInCompilation(diagnostics[i], compilation);
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (15)
264DiagnosticAnalysisContextHelpers.VerifyArguments(key, valueProvider); 543DiagnosticAnalysisContextHelpers.VerifyArguments(key, valueProvider); 610DiagnosticAnalysisContextHelpers.VerifyArguments(diagnostic, _compilation, _isSupportedDiagnostic, _cancellationToken); 665DiagnosticAnalysisContextHelpers.VerifyArguments(key, valueProvider); 752DiagnosticAnalysisContextHelpers.VerifyArguments(diagnostic, _semanticModel.Compilation, _isSupportedDiagnostic, _cancellationToken); 850DiagnosticAnalysisContextHelpers.VerifyArguments(diagnostic, _compilation, _isSupportedDiagnostic, _cancellationToken); 1213DiagnosticAnalysisContextHelpers.VerifyArguments(diagnostic, _semanticModel.Compilation, _isSupportedDiagnostic, _cancellationToken); 1366return DiagnosticAnalysisContextHelpers.GetControlFlowGraph(operationBlock, _getControlFlowGraph, _cancellationToken); 1476DiagnosticAnalysisContextHelpers.VerifyArguments(diagnostic, Compilation, _isSupportedDiagnostic, _cancellationToken); 1499return DiagnosticAnalysisContextHelpers.GetControlFlowGraph(operationBlock, _getControlFlowGraph, _cancellationToken); 1577DiagnosticAnalysisContextHelpers.VerifyArguments(diagnostic, _compilationOpt, _isSupportedDiagnostic, _cancellationToken); 1646DiagnosticAnalysisContextHelpers.VerifyArguments(diagnostic, Compilation, _isSupportedDiagnostic, CancellationToken); 1756DiagnosticAnalysisContextHelpers.VerifyArguments(diagnostic, _semanticModel.Compilation, _isSupportedDiagnostic, _cancellationToken); 1865DiagnosticAnalysisContextHelpers.VerifyArguments(diagnostic, _compilation, _isSupportedDiagnostic, _cancellationToken); 1875public ControlFlowGraph GetControlFlowGraph() => DiagnosticAnalysisContextHelpers.GetControlFlowGraph(Operation, _getControlFlowGraph, _cancellationToken);
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (36)
32DiagnosticAnalysisContextHelpers.VerifyArguments(action); 38DiagnosticAnalysisContextHelpers.VerifyArguments(action); 44DiagnosticAnalysisContextHelpers.VerifyArguments(action); 50DiagnosticAnalysisContextHelpers.VerifyArguments(action); 56DiagnosticAnalysisContextHelpers.VerifyArguments(action); 62DiagnosticAnalysisContextHelpers.VerifyArguments(action, symbolKinds); 68DiagnosticAnalysisContextHelpers.VerifyArguments(action); 74DiagnosticAnalysisContextHelpers.VerifyArguments(action); 80DiagnosticAnalysisContextHelpers.VerifyArguments(action); 86DiagnosticAnalysisContextHelpers.VerifyArguments(action, syntaxKinds); 92DiagnosticAnalysisContextHelpers.VerifyArguments(action, operationKinds); 98DiagnosticAnalysisContextHelpers.VerifyArguments(action); 104DiagnosticAnalysisContextHelpers.VerifyArguments(action); 143DiagnosticAnalysisContextHelpers.VerifyArguments(action); 149DiagnosticAnalysisContextHelpers.VerifyArguments(action); 155DiagnosticAnalysisContextHelpers.VerifyArguments(action); 161DiagnosticAnalysisContextHelpers.VerifyArguments(action); 167DiagnosticAnalysisContextHelpers.VerifyArguments(action, symbolKinds); 173DiagnosticAnalysisContextHelpers.VerifyArguments(action); 179DiagnosticAnalysisContextHelpers.VerifyArguments(action); 185DiagnosticAnalysisContextHelpers.VerifyArguments(action); 191DiagnosticAnalysisContextHelpers.VerifyArguments(action, syntaxKinds); 197DiagnosticAnalysisContextHelpers.VerifyArguments(action); 203DiagnosticAnalysisContextHelpers.VerifyArguments(action); 209DiagnosticAnalysisContextHelpers.VerifyArguments(action, operationKinds); 243DiagnosticAnalysisContextHelpers.VerifyArguments(action); 249DiagnosticAnalysisContextHelpers.VerifyArguments(action); 255DiagnosticAnalysisContextHelpers.VerifyArguments(action); 261DiagnosticAnalysisContextHelpers.VerifyArguments(action, syntaxKinds); 267DiagnosticAnalysisContextHelpers.VerifyArguments(action); 273DiagnosticAnalysisContextHelpers.VerifyArguments(action); 279DiagnosticAnalysisContextHelpers.VerifyArguments(action, operationKinds); 307DiagnosticAnalysisContextHelpers.VerifyArguments(action); 313DiagnosticAnalysisContextHelpers.VerifyArguments(action, syntaxKinds); 343DiagnosticAnalysisContextHelpers.VerifyArguments(action); 349DiagnosticAnalysisContextHelpers.VerifyArguments(action, operationKinds);
SourceGeneration\GeneratorContexts.cs (1)
107DiagnosticAnalysisContextHelpers.VerifyArguments(diagnostic, Compilation, isSupportedDiagnostic: static (_, _) => true, CancellationToken);
SourceGeneration\IncrementalContexts.cs (1)
183DiagnosticAnalysisContextHelpers.VerifyArguments(diagnostic, Compilation, isSupportedDiagnostic: static (_, _) => true, CancellationToken);