16 references to Compilation
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (1)
47
/// Underlying <see cref="
Compilation
"/> with a non-null <see cref="Compilation.EventQueue"/>, used to drive analyzer execution.
Microsoft.CodeAnalysis.CodeStyle (6)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (6)
93
if (!compilationWithAnalyzers.
Compilation
.Options.ReportSuppressedDiagnostics)
103
if (compilationWithAnalyzers.
Compilation
.Options.SyntaxTreeOptionsProvider != null &&
104
compilationWithAnalyzers.
Compilation
.Options.SyntaxTreeOptionsProvider.TryGetDiagnosticValue(tree, IDEDiagnosticIds.RemoveUnnecessarySuppressionDiagnosticId, cancellationToken, out var severity) ||
105
compilationWithAnalyzers.
Compilation
.Options.SpecificDiagnosticOptions.TryGetValue(IDEDiagnosticIds.RemoveUnnecessarySuppressionDiagnosticId, out severity))
222
suppressMessageAttributesToIsUsedMap, reportDiagnostic, effectiveSeverity, compilationWithAnalyzers.
Compilation
);
523
var suppressionInfo = diagnostic.GetSuppressionInfo(compilationWithAnalyzers.
Compilation
);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\GetDiagnosticsTests.cs (1)
791
var eventQueue = compilationWithAnalyzers.
Compilation
.EventQueue;
Microsoft.CodeAnalysis.Features (6)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (6)
93
if (!compilationWithAnalyzers.
Compilation
.Options.ReportSuppressedDiagnostics)
103
if (compilationWithAnalyzers.
Compilation
.Options.SyntaxTreeOptionsProvider != null &&
104
compilationWithAnalyzers.
Compilation
.Options.SyntaxTreeOptionsProvider.TryGetDiagnosticValue(tree, IDEDiagnosticIds.RemoveUnnecessarySuppressionDiagnosticId, cancellationToken, out var severity) ||
105
compilationWithAnalyzers.
Compilation
.Options.SpecificDiagnosticOptions.TryGetValue(IDEDiagnosticIds.RemoveUnnecessarySuppressionDiagnosticId, out severity))
222
suppressMessageAttributesToIsUsedMap, reportDiagnostic, effectiveSeverity, compilationWithAnalyzers.
Compilation
);
523
var suppressionInfo = diagnostic.GetSuppressionInfo(compilationWithAnalyzers.
Compilation
);
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\CompilationWithAnalyzersPair.cs (2)
39
public Compilation? ProjectCompilation => _projectCompilationWithAnalyzers?.
Compilation
;
41
public Compilation? HostCompilation => _hostCompilationWithAnalyzers?.
Compilation
;