12 references to Options
Microsoft.CodeAnalysis (8)
DiagnosticAnalyzer\AnalysisScope.cs (1)
98
var analyzerOptions = compilationWithAnalyzers.AnalysisOptions.
Options
;
DiagnosticAnalyzer\AnalyzerDriver.cs (5)
481
addCategorizedLocalDiagnostic = GetDiagnosticSink(diagnosticQueue.EnqueueLocal, compilation, analysisOptions.
Options
, _severityFilter, suppressedDiagnosticIds);
482
addCategorizedNonLocalDiagnostic = GetDiagnosticSink(diagnosticQueue.EnqueueNonLocal, compilation, analysisOptions.
Options
, _severityFilter, suppressedDiagnosticIds);
486
addNotCategorizedDiagnostic = GetDiagnosticSink(diagnosticQueue.Enqueue, compilation, analysisOptions.
Options
, _severityFilter, suppressedDiagnosticIds);
492
var filteredDiagnostic = GetFilteredDiagnostic(diagnostic, compilation, analysisOptions.
Options
, _severityFilter, suppressedDiagnosticIds, cancellationToken);
511
compilation, analysisOptions.
Options
?? AnalyzerOptions.Empty, addNotCategorizedDiagnostic, newOnAnalyzerException, analysisOptions.AnalyzerExceptionFilter,
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (2)
107
_analysisResultBuilder = new AnalysisResultBuilder(analysisOptions.LogAnalyzerExecutionTime, analyzers, _analysisOptions.
Options
?.AdditionalFiles ?? ImmutableArray<AdditionalText>.Empty);
227
private ImmutableArray<AdditionalText> AdditionalFiles => _analysisOptions.
Options
?.AdditionalFiles ?? ImmutableArray<AdditionalText>.Empty;
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (2)
114
var option = compilationWithAnalyzers.AnalysisOptions.
Options
?.GetAnalyzerOptions(tree).RemoveUnnecessarySuppressionExclusions.Trim();
122
if (tree.IsGeneratedCode(compilationWithAnalyzers.AnalysisOptions.
Options
, SyntaxFacts, cancellationToken))
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (2)
114
var option = compilationWithAnalyzers.AnalysisOptions.
Options
?.GetAnalyzerOptions(tree).RemoveUnnecessarySuppressionExclusions.Trim();
122
if (tree.IsGeneratedCode(compilationWithAnalyzers.AnalysisOptions.
Options
, SyntaxFacts, cancellationToken))