31 references to Document
BuildActionTelemetryTable (1)
TelemetryExtensions.cs (1)
44FixAllScope.Document => 1,
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (1)
34FixAllScope.Document when fixAllContext.Document is not null => await fixAllContext.GetDocumentDiagnosticsAsync(fixAllContext.Document).ConfigureAwait(false),
FixAllHelper.cs (1)
21FixAllScope.Document => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_1, title, triggerDocument.Name),
SyntaxEditorBasedCodeFixProvider.cs (1)
20ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project, FixAllScope.Solution,
Microsoft.CodeAnalysis.CodeStyle.LegacyTestFramework.UnitTestUtilities (1)
AbstractCodeActionOrUserDiagnosticTest.cs (1)
944"FixAllInDocument" => FixAllScope.Document,
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
AddFileBanner\AddFileBannerTests_FixAll.cs (1)
302[InlineData(FixAllScope.Document)]
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (1)
CodeActions\AbstractCodeActionOrUserDiagnosticTest.cs (1)
944"FixAllInDocument" => FixAllScope.Document,
Microsoft.CodeAnalysis.Features (3)
AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (1)
34FixAllScope.Document when fixAllContext.Document is not null => await fixAllContext.GetDocumentDiagnosticsAsync(fixAllContext.Document).ConfigureAwait(false),
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.FixAllProvider.cs (1)
26=> ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project,
CodeFixesAndRefactorings\AbstractFixAllCodeAction.cs (1)
46FixAllScope.Document => FeaturesResources.Document,
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Features\CodeFixes\CodeFixService.cs (2)
276if (collection.FixAllState is not null && collection.SupportedScopes.Contains(FixAllScope.Document)) 742FixAllScope.Document,
Microsoft.CodeAnalysis.Workspaces (18)
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (2)
33=> ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project, 59Contract.ThrowIfFalse(fixAllContext.Scope is FixAllScope.Document or
CodeFixes\FixAllOccurrences\FixAllContextHelper.cs (1)
35case FixAllScope.Document:
CodeFixes\FixAllOccurrences\FixAllProvider.cs (2)
22= ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project, FixAllScope.Solution); 27/// (a) <see cref="FixAllScope.Document"/>
CodeFixes\FixAllOccurrences\WellKnownFixAllProviders.cs (1)
19/// <see cref="FixAllScope.Document"/>, <see cref="FixAllScope.Project"/>, <see cref="FixAllScope.Solution"/>
CodeFixesAndRefactorings\DefaultFixAllProviderHelpers.cs (1)
31FixAllScope.Document or FixAllScope.ContainingMember or FixAllScope.ContainingType
CodeFixesAndRefactorings\DocumentBasedFixAllProviderHelpers.cs (1)
47Contract.ThrowIfFalse(fixAllContext.Scope is FixAllScope.Document or FixAllScope.Project
CodeRefactorings\FixAllOccurences\DocumentBasedFixAllProvider.cs (1)
90Contract.ThrowIfFalse(fixAllContext.Scope is FixAllScope.Document or FixAllScope.Project
CodeRefactorings\FixAllOccurences\FixAllProvider.cs (2)
26= ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project, FixAllScope.Solution); 31/// (a) <see cref="FixAllScope.Document"/>
CodeRefactorings\FixAllOccurences\FixAllState.cs (1)
111case FixAllScope.Document:
CodeRefactorings\SyntaxEditorBasedCodeRefactoringProvider.cs (2)
19protected static readonly ImmutableArray<FixAllScope> DefaultFixAllScopes = ImmutableArray.Create(FixAllScope.Document, 21protected static readonly ImmutableArray<FixAllScope> AllFixAllScopes = ImmutableArray.Create(FixAllScope.Document,
FixAllHelper.cs (1)
21FixAllScope.Document => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_1, title, triggerDocument.Name),
LanguageServices\FixAllSpanMappingService\IFixAllSpanMappingService.cs (1)
18/// such as <see cref="FixAllScope.Document"/>, <see cref="FixAllScope.Project"/> and <see cref="FixAllScope.Solution"/>
Shared\Extensions\TelemetryExtensions.cs (1)
44FixAllScope.Document => 1,
SyntaxEditorBasedCodeFixProvider.cs (1)
20ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project, FixAllScope.Solution,
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (1)
CSharp\CSharpCodeActions.cs (1)
397fixAllScope: FixAllScope.Document,