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