14 references to CompilerDiagnosticsScope
Microsoft.CodeAnalysis.Features (9)
Diagnostics\Options\SolutionCrawlerOptionsStorage.cs (8)
23public static readonly PerLanguageOption2<CompilerDiagnosticsScope> CompilerDiagnosticsScopeOption = new( 24"dotnet_compiler_diagnostics_scope", defaultValue: CompilerDiagnosticsScope.OpenFiles, group: s_backgroundAnalysisOptionGroup, serializer: EditorConfigValueSerializer.CreateSerializerForEnum<CompilerDiagnosticsScope>()); 47public static CompilerDiagnosticsScope GetBackgroundCompilerAnalysisScope(this IGlobalOptionService globalOptions, string language) 51return CompilerDiagnosticsScope.VisibleFilesAndOpenFilesWithPreviouslyReportedDiagnostics; 65return GetBackgroundCompilerAnalysisScope(globalOptions, language) == CompilerDiagnosticsScope.FullSolution; 113compilerFullSolutionAnalysisEnabled = GetBackgroundCompilerAnalysisScope(globalOptions, language) == CompilerDiagnosticsScope.FullSolution; 127var compilerDiagnosticsDisabled = GetBackgroundCompilerAnalysisScope(globalOptions, language) == CompilerDiagnosticsScope.None;
Diagnostics\Service\DocumentAnalysisExecutor_Helpers.cs (1)
61return globalOptions.GetBackgroundCompilerAnalysisScope(project.Language) != CompilerDiagnosticsScope.None;
Microsoft.CodeAnalysis.Workspaces (5)
Shared\Extensions\BackgroundAnalysisScopeExtensions.cs (5)
11public static CompilerDiagnosticsScope ToEquivalentCompilerDiagnosticsScope(this BackgroundAnalysisScope backgroundAnalysisScope) 14BackgroundAnalysisScope.None => CompilerDiagnosticsScope.None, 15BackgroundAnalysisScope.VisibleFilesAndOpenFilesWithPreviouslyReportedDiagnostics => CompilerDiagnosticsScope.VisibleFilesAndOpenFilesWithPreviouslyReportedDiagnostics, 16BackgroundAnalysisScope.OpenFiles => CompilerDiagnosticsScope.OpenFiles, 17BackgroundAnalysisScope.FullSolution => CompilerDiagnosticsScope.FullSolution,