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