19 references to AnalysisOptions
Microsoft.CodeAnalysis (7)
DiagnosticAnalyzer\AnalysisScope.cs (3)
98
var analyzerOptions = compilationWithAnalyzers.
AnalysisOptions
.Options;
100
var concurrentAnalysis = compilationWithAnalyzers.
AnalysisOptions
.ConcurrentAnalysis;
126
var concurrentAnalysis = compilationWithAnalyzers.
AnalysisOptions
.ConcurrentAnalysis;
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (4)
515
/// The given <paramref name="file"/> must be part of <see cref="AnalyzerOptions.AdditionalFiles"/> for the <see cref="
AnalysisOptions
"/> for this CompilationWithAnalyzers instance.
529
/// The given <paramref name="file"/> must be part of <see cref="AnalyzerOptions.AdditionalFiles"/> for the <see cref="
AnalysisOptions
"/> for this CompilationWithAnalyzers instance.
546
/// The given <paramref name="file"/> must be part of <see cref="AnalyzerOptions.AdditionalFiles"/> for the <see cref="
AnalysisOptions
"/> for this CompilationWithAnalyzers instance.
562
/// The given <paramref name="file"/> must be part of <see cref="AnalyzerOptions.AdditionalFiles"/> for the <see cref="
AnalysisOptions
"/> for this CompilationWithAnalyzers instance.
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))
Microsoft.CodeAnalysis.Workspaces (8)
Diagnostics\CompilationWithAnalyzersPair.cs (8)
26
Contract.ThrowIfFalse(projectCompilationWithAnalyzers.
AnalysisOptions
.ReportSuppressedDiagnostics == hostCompilationWithAnalyzers.
AnalysisOptions
.ReportSuppressedDiagnostics);
27
Contract.ThrowIfFalse(projectCompilationWithAnalyzers.
AnalysisOptions
.ConcurrentAnalysis == hostCompilationWithAnalyzers.
AnalysisOptions
.ConcurrentAnalysis);
46
public bool ReportSuppressedDiagnostics => _projectCompilationWithAnalyzers?.
AnalysisOptions
.ReportSuppressedDiagnostics ?? _hostCompilationWithAnalyzers!.
AnalysisOptions
.ReportSuppressedDiagnostics;
48
public bool ConcurrentAnalysis => _projectCompilationWithAnalyzers?.
AnalysisOptions
.ConcurrentAnalysis ?? _hostCompilationWithAnalyzers!.
AnalysisOptions
.ConcurrentAnalysis;