1 implementation of Scope
Microsoft.CodeAnalysis.Workspaces (1)
CodeFixesAndRefactorings\CommonFixAllState.cs (1)
22public FixAllScope Scope { get; }
12 references to Scope
Microsoft.CodeAnalysis.EditorFeatures (2)
Suggestions\SuggestedActions\AbstractFixAllSuggestedAction.cs (1)
51telemetryId = OriginalCodeAction.GetTelemetryId(FixAllState.Scope);
Suggestions\SuggestedActions\SuggestedAction.cs (1)
197map[FixAllLogger.FixAllScope] = fixSome.FixAllState.Scope.ToString();
Microsoft.CodeAnalysis.Features (3)
CodeFixesAndRefactorings\AbstractFixAllCodeAction.cs (2)
39=> this.FixAllState.Scope switch 46_ => throw ExceptionUtilities.UnexpectedValue(this.FixAllState.Scope),
CodeFixesAndRefactorings\AbstractFixAllGetFixesService.cs (1)
171m[FixAllLogger.FixAllScope] = fixAllContext.State.Scope.ToString();
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\CodeActions\CodeActionHelpers.cs (2)
201var fixAllFlavors = unifiedCodeFixSuggestedAction.FixAllFlavors.Actions.OfType<UnifiedFixAllCodeFixSuggestedAction>().Select(action => action.FixAllState.Scope.ToString()); 384var fixAllFlavor = unifiedCodeFixSuggestedAction.FixAllFlavors.Actions.OfType<UnifiedFixAllCodeFixSuggestedAction>().Where(action => action.FixAllState.Scope.ToString() == fixAllScope).First();
Microsoft.CodeAnalysis.Workspaces (5)
CodeFixesAndRefactorings\DefaultFixAllProviderHelpers.cs (2)
34var solution = fixAllContext.State.Scope switch 40_ => throw ExceptionUtilities.UnexpectedValue(fixAllContext.State.Scope),
CodeFixesAndRefactorings\DocumentBasedFixAllProviderHelpers.cs (1)
77fixAllContext.State.Scope is FixAllScope.Document or FixAllScope.Project or FixAllScope.ContainingMember or FixAllScope.ContainingType);
CodeFixesAndRefactorings\FixAllLogger.cs (2)
78m[FixAllScope] = fixAllState.Scope.ToString(); 79switch (fixAllState.Scope)