33 references to Document
BuildActionTelemetryTable (1)
src\Workspaces\Core\Portable\Shared\Extensions\TelemetryExtensions.cs (1)
44FixAllScope.Document => 1,
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (1)
32FixAllScope.Document when fixAllContext.Document is not null => await fixAllContext.GetDocumentDiagnosticsAsync(fixAllContext.Document).ConfigureAwait(false),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\SyntaxEditorBasedCodeFixProvider.cs (1)
19[FixAllScope.Document, FixAllScope.Project, FixAllScope.Solution, FixAllScope.ContainingMember, FixAllScope.ContainingType];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixesAndRefactorings\FixAllHelper.cs (1)
21FixAllScope.Document => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_1, title, triggerDocument.Name),
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
AddFileBanner\AddFileBannerTests_FixAll.cs (1)
301[InlineData(FixAllScope.Document)]
Microsoft.CodeAnalysis.Features (3)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.FixAllProvider.cs (1)
26=> ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project,
CodeFixesAndRefactorings\AbstractFixAllCodeAction.cs (1)
45FixAllScope.Document => FeaturesResources.Document,
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (1)
32FixAllScope.Document when fixAllContext.Document is not null => await fixAllContext.GetDocumentDiagnosticsAsync(fixAllContext.Document).ConfigureAwait(false),
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Features\CodeFixes\CodeFixService.cs (2)
313if (collection.FixAllState is not null && collection.SupportedScopes.Contains(FixAllScope.Document)) 787FixAllScope.Document,
Microsoft.CodeAnalysis.Workspaces (18)
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (2)
31=> ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project, 57Contract.ThrowIfFalse(fixAllContext.Scope is FixAllScope.Document or
CodeFixes\FixAllOccurrences\FixAllContextHelper.cs (1)
35case FixAllScope.Document:
CodeFixes\FixAllOccurrences\FixAllProvider.cs (2)
22= [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)
37FixAllScope.Document or FixAllScope.ContainingMember or FixAllScope.ContainingType
CodeFixesAndRefactorings\DocumentBasedFixAllProviderHelpers.cs (1)
80fixAllContext.Scope is FixAllScope.Document or FixAllScope.Project or FixAllScope.ContainingMember or FixAllScope.ContainingType);
CodeRefactorings\FixAllOccurences\DocumentBasedFixAllProvider.cs (1)
84Contract.ThrowIfFalse(fixAllContext.Scope is FixAllScope.Document or FixAllScope.Project
CodeRefactorings\FixAllOccurences\FixAllProvider.cs (2)
25= [FixAllScope.Document, FixAllScope.Project, FixAllScope.Solution]; 30/// (a) <see cref="FixAllScope.Document"/>
CodeRefactorings\FixAllOccurences\FixAllState.cs (1)
106case FixAllScope.Document:
CodeRefactorings\SyntaxEditorBasedCodeRefactoringProvider.cs (2)
19protected static readonly ImmutableArray<FixAllScope> DefaultFixAllScopes = [FixAllScope.Document, FixAllScope.Project, FixAllScope.Solution]; 20protected static readonly ImmutableArray<FixAllScope> AllFixAllScopes = [FixAllScope.Document, FixAllScope.Project, FixAllScope.Solution, FixAllScope.ContainingType, FixAllScope.ContainingMember];
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,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\SyntaxEditorBasedCodeFixProvider.cs (1)
19[FixAllScope.Document, FixAllScope.Project, FixAllScope.Solution, FixAllScope.ContainingMember, FixAllScope.ContainingType];
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixesAndRefactorings\FixAllHelper.cs (1)
21FixAllScope.Document => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_1, title, triggerDocument.Name),
Microsoft.Interop.ComInterfaceGenerator (2)
src\libraries\System.Runtime.InteropServices\gen\Common\FixAllContextExtensions.cs (2)
19case FixAllScope.Document: 54case FixAllScope.Document:
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\CustomMarshallerAttributeFixer.cs (1)
91case FixAllScope.Document:
src\libraries\System.Runtime.InteropServices\gen\Common\FixAllContextExtensions.cs (2)
19case FixAllScope.Document: 54case FixAllScope.Document: