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)
93if (!compilationWithAnalyzers.Compilation.Options.ReportSuppressedDiagnostics) 103if (compilationWithAnalyzers.Compilation.Options.SyntaxTreeOptionsProvider != null && 104compilationWithAnalyzers.Compilation.Options.SyntaxTreeOptionsProvider.TryGetDiagnosticValue(tree, IDEDiagnosticIds.RemoveUnnecessarySuppressionDiagnosticId, cancellationToken, out var severity) || 105compilationWithAnalyzers.Compilation.Options.SpecificDiagnosticOptions.TryGetValue(IDEDiagnosticIds.RemoveUnnecessarySuppressionDiagnosticId, out severity)) 222suppressMessageAttributesToIsUsedMap, reportDiagnostic, effectiveSeverity, compilationWithAnalyzers.Compilation); 523var suppressionInfo = diagnostic.GetSuppressionInfo(compilationWithAnalyzers.Compilation);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\GetDiagnosticsTests.cs (1)
791var eventQueue = compilationWithAnalyzers.Compilation.EventQueue;
Microsoft.CodeAnalysis.Features (6)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (6)
93if (!compilationWithAnalyzers.Compilation.Options.ReportSuppressedDiagnostics) 103if (compilationWithAnalyzers.Compilation.Options.SyntaxTreeOptionsProvider != null && 104compilationWithAnalyzers.Compilation.Options.SyntaxTreeOptionsProvider.TryGetDiagnosticValue(tree, IDEDiagnosticIds.RemoveUnnecessarySuppressionDiagnosticId, cancellationToken, out var severity) || 105compilationWithAnalyzers.Compilation.Options.SpecificDiagnosticOptions.TryGetValue(IDEDiagnosticIds.RemoveUnnecessarySuppressionDiagnosticId, out severity)) 222suppressMessageAttributesToIsUsedMap, reportDiagnostic, effectiveSeverity, compilationWithAnalyzers.Compilation); 523var suppressionInfo = diagnostic.GetSuppressionInfo(compilationWithAnalyzers.Compilation);
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\CompilationWithAnalyzersPair.cs (2)
39public Compilation? ProjectCompilation => _projectCompilationWithAnalyzers?.Compilation; 41public Compilation? HostCompilation => _hostCompilationWithAnalyzers?.Compilation;