3 instantiations of EnabledDiagnosticOptions
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
src\VisualStudio\Core\Def\CodeCleanup\AbstractCodeCleanUpFixer_Helper.cs (2)
43return new EnabledDiagnosticOptions( 68return new EnabledDiagnosticOptions(
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\CodeCleanup\AbstractCodeCleanupService.cs (1)
285=> new(FormatDocument: true, RunThirdPartyFixers: true, Diagnostics: GetDiagnosticSets(), OrganizeUsings: new OrganizeUsingsSet(isRemoveUnusedImportEnabled: true, isSortImportsEnabled: true));
12 references to EnabledDiagnosticOptions
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Formatting\CodeCleanupTests.cs (3)
839var enabledDiagnostics = codeCleanupService.GetAllDiagnostics(); 856var enabledDiagnostics = codeCleanupService.GetAllDiagnostics(); 944var enabledDiagnostics = codeCleanupService.GetAllDiagnostics();
src\VisualStudio\Core\Def\CodeCleanup\AbstractCodeCleanUpFixer_Helper.cs (2)
21internal static EnabledDiagnosticOptions AdjustDiagnosticOptions(EnabledDiagnosticOptions enabledDiagnostics, Func<string, bool> isFixIdEnabled)
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Features\CodeCleanup\AbstractCodeCleanupService.cs (2)
32EnabledDiagnosticOptions enabledDiagnostics, 284public EnabledDiagnosticOptions GetAllDiagnostics()
Features\CodeCleanup\ICodeCleanupService.cs (2)
14Task<Document> CleanupAsync(Document document, EnabledDiagnosticOptions enabledDiagnostics, IProgress<CodeAnalysisProgress> progressTracker, CancellationToken cancellationToken); 15EnabledDiagnosticOptions GetAllDiagnostics();
Microsoft.VisualStudio.LanguageServices (3)
CodeCleanup\AbstractCodeCleanUpFixer.cs (1)
249var enabledDiagnostics = codeCleanupService.GetAllDiagnostics();
CodeCleanup\AbstractCodeCleanUpFixer_Helper.cs (2)
21internal static EnabledDiagnosticOptions AdjustDiagnosticOptions(EnabledDiagnosticOptions enabledDiagnostics, Func<string, bool> isFixIdEnabled)