1 implementation of Scope
Microsoft.CodeAnalysis.Workspaces (1)
CodeFixesAndRefactorings\CommonFixAllState.cs (1)
24public FixAllScope Scope { get; }
12 references to Scope
Microsoft.CodeAnalysis.EditorFeatures (2)
Suggestions\SuggestedActions\EditorSuggestedAction.cs (1)
182map[FixAllLogger.FixAllScope] = fixSome.RefactorOrFixAllState.Scope.ToString();
Suggestions\SuggestedActions\EditorSuggestedActionForRefactorOrFixAll.cs (1)
45telemetryId = originalCodeAction.GetTelemetryId(fixAllState.Scope);
Microsoft.CodeAnalysis.Features (3)
CodeFixesAndRefactorings\AbstractFixAllCodeAction.cs (2)
56=> title ?? (this.RefactorOrFixAllState.Scope switch 63_ => throw ExceptionUtilities.UnexpectedValue(this.RefactorOrFixAllState.Scope),
CodeFixesAndRefactorings\AbstractFixAllGetFixesService.cs (1)
171m[FixAllLogger.FixAllScope] = fixAllContext.State.Scope.ToString();
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\CodeActions\CodeActionHelpers.cs (2)
201var flavorStrings = fixAllFlavors.Actions.Select(a => a.RefactorOrFixAllState?.Scope.ToString()).WhereNotNull(); 376var fixAllFlavor = suggestedAction.Flavors.Value.Actions.Where(a => a.RefactorOrFixAllState != null && a.RefactorOrFixAllState.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)