317 references to FixAllScope
BuildActionTelemetryTable (7)
TelemetryExtensions.cs (7)
41public static short GetScopeIdForTelemetry(this FixAllScope scope) 44FixAllScope.Document => 1, 45FixAllScope.Project => 2, 46FixAllScope.Solution => 3, 47FixAllScope.Custom => 4, 48FixAllScope.ContainingMember => 5, 49FixAllScope.ContainingType => 6,
Microsoft.CodeAnalysis.CodeStyle.Fixes (17)
AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (3)
34FixAllScope.Document when fixAllContext.Document is not null => await fixAllContext.GetDocumentDiagnosticsAsync(fixAllContext.Document).ConfigureAwait(false), 35FixAllScope.Project => await fixAllContext.GetAllDiagnosticsAsync(fixAllContext.Project).ConfigureAwait(false), 36FixAllScope.Solution => await GetSolutionDiagnosticsAsync(fixAllContext).ConfigureAwait(false),
FixAllHelper.cs (8)
6using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 13FixAllScope fixAllScope, 20FixAllScope.Custom => string.Format(WorkspaceExtensionsResources.Fix_all_0, title), 21FixAllScope.Document => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_1, title, triggerDocument.Name), 22FixAllScope.Project => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_1, title, triggerProject.Name), 23FixAllScope.Solution => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_Solution, title), 24FixAllScope.ContainingMember => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_Containing_member, title), 25FixAllScope.ContainingType => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_Containing_type, title),
SyntaxEditorBasedCodeFixProvider.cs (6)
19private static readonly ImmutableArray<FixAllScope> s_defaultSupportedFixAllScopes = 20ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project, FixAllScope.Solution, 21FixAllScope.ContainingMember, FixAllScope.ContainingType);
Microsoft.CodeAnalysis.CodeStyle.LegacyTestFramework.UnitTestUtilities (11)
AbstractCodeActionOrUserDiagnosticTest.cs (7)
935protected static FixAllScope? GetFixAllScope(string annotation) 944"FixAllInDocument" => FixAllScope.Document, 945"FixAllInProject" => FixAllScope.Project, 946"FixAllInSolution" => FixAllScope.Solution, 947"FixAllInContainingMember" => FixAllScope.ContainingMember, 948"FixAllInContainingType" => FixAllScope.ContainingType, 949"FixAllInSelection" => FixAllScope.Custom,
AbstractUserDiagnosticTest.cs (4)
133if (scope is FixAllScope.ContainingMember or FixAllScope.ContainingType && 196FixAllScope scope, 202if (scope == FixAllScope.Custom)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (8)
AddFileBanner\AddFileBannerTests_FixAll.cs (4)
300[InlineData(FixAllScope.ContainingMember)] 301[InlineData(FixAllScope.ContainingType)] 302[InlineData(FixAllScope.Document)] 303public async Task FixAllScopes_NotApplicable(FixAllScope fixAllScope)
Formatting\CodeCleanupTests.TestFixers.cs (4)
136public override IEnumerable<FixAllScope> GetSupportedFixAllScopes() 138return new[] { FixAllScope.Project, FixAllScope.Solution, FixAllScope.Custom };
Microsoft.CodeAnalysis.CSharp.Features (10)
CodeRefactorings\EnableNullable\EnableNullableCodeRefactoringProvider.FixAllProvider.cs (4)
14using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 31public override IEnumerable<FixAllScope> GetSupportedFixAllScopes() 32=> ImmutableArray.Create(FixAllScope.Solution); 36Debug.Assert(fixAllContext.Scope == FixAllScope.Solution);
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (1)
45protected override ImmutableArray<FixAllScope> SupportedFixAllScopes => AllFixAllScopes;
ConvertNamespace\ConvertNamespaceCodeRefactoringProvider.cs (3)
35protected override ImmutableArray<FixAllScope> SupportedFixAllScopes 36=> ImmutableArray.Create(FixAllScope.Project, FixAllScope.Solution);
ConvertToRawString\ConvertRegularStringToRawStringCodeRefactoringProvider.cs (1)
56protected override ImmutableArray<FixAllScope> SupportedFixAllScopes => AllFixAllScopes;
UseExpressionBody\UseExpressionBodyCodeRefactoringProvider.cs (1)
60protected override ImmutableArray<FixAllScope> SupportedFixAllScopes => AllFixAllScopes;
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (16)
CodeActions\AbstractCodeActionOrUserDiagnosticTest.cs (7)
935protected static FixAllScope? GetFixAllScope(string annotation) 944"FixAllInDocument" => FixAllScope.Document, 945"FixAllInProject" => FixAllScope.Project, 946"FixAllInSolution" => FixAllScope.Solution, 947"FixAllInContainingMember" => FixAllScope.ContainingMember, 948"FixAllInContainingType" => FixAllScope.ContainingType, 949"FixAllInSelection" => FixAllScope.Custom,
CodeActions\AbstractCodeActionTest.cs (4)
28using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 52if (fixAllScope is FixAllScope.ContainingMember or FixAllScope.ContainingType && 81FixAllScope scope)
CodeActions\CSharpCodeFixVerifier`2+Test.cs (1)
118FixAllScope scope,
Diagnostics\AbstractUserDiagnosticTest.cs (4)
133if (scope is FixAllScope.ContainingMember or FixAllScope.ContainingType && 196FixAllScope scope, 202if (scope == FixAllScope.Custom)
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
CodeActions\OmniSharpCodeFixContextFactory.cs (1)
40FixAllScope scope,
Microsoft.CodeAnalysis.Features (22)
AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (3)
34FixAllScope.Document when fixAllContext.Document is not null => await fixAllContext.GetDocumentDiagnosticsAsync(fixAllContext.Document).ConfigureAwait(false), 35FixAllScope.Project => await fixAllContext.GetAllDiagnosticsAsync(fixAllContext.Project).ConfigureAwait(false), 36FixAllScope.Solution => await GetSolutionDiagnosticsAsync(fixAllContext).ConfigureAwait(false),
AddFileBanner\AbstractAddFileBannerCodeRefactoringProvider.cs (3)
35protected sealed override ImmutableArray<FixAllScope> SupportedFixAllScopes { get; } 36= ImmutableArray.Create(FixAllScope.Project, FixAllScope.Solution);
CodeFixes\CodeFixCollection.cs (2)
26public ImmutableArray<FixAllScope> SupportedScopes { get; } 34ImmutableArray<FixAllScope> supportedScopes,
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.FixAllProvider.cs (6)
25public override IEnumerable<FixAllScope> GetSupportedFixAllScopes() 26=> ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project, 27FixAllScope.Solution, FixAllScope.ContainingMember, FixAllScope.ContainingType);
CodeFixesAndRefactorings\AbstractFixAllCodeAction.cs (6)
12using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 46FixAllScope.Document => FeaturesResources.Document, 47FixAllScope.Project => FeaturesResources.Project, 48FixAllScope.Solution => FeaturesResources.Solution, 49FixAllScope.ContainingMember => FeaturesResources.Containing_Member, 50FixAllScope.ContainingType => FeaturesResources.Containing_Type,
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.cs (1)
33protected sealed override ImmutableArray<FixAllScope> SupportedFixAllScopes => AllFixAllScopes;
SyncNamespaces\AbstractSyncNamespacesService.cs (1)
126FixAllScope.Solution,
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Features\CodeFixes\CodeFixService.cs (3)
276if (collection.FixAllState is not null && collection.SupportedScopes.Contains(FixAllScope.Document)) 723var supportedScopes = ImmutableArray<FixAllScope>.Empty; 742FixAllScope.Document,
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (7)
215ImmutableArray<FixAllScope> supportedScopes, 233foreach (var scope in supportedScopes) 235if (scope is FixAllScope.ContainingMember or FixAllScope.ContainingType) 612foreach (var scope in fixAllProviderInfo.SupportedScopes) 618if (scope is FixAllScope.ContainingMember or FixAllScope.ContainingType)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (4)
Formatting\CodeCleanUpTests.vb (4)
684Public Overrides Function GetSupportedFixAllScopes() As IEnumerable(Of FixAllScope) 685Return {FixAllScope.Project, FixAllScope.Solution, FixAllScope.Custom}
Microsoft.CodeAnalysis.Workspaces (186)
CodeActions\CodeAction.cs (2)
117internal Guid GetTelemetryId(FixAllScope? fixAllScope = null) 491/// This is used in <see cref="GetTelemetryId(FixAllScope?)"/> to determine the appropriate type
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (10)
32public override IEnumerable<FixAllScope> GetSupportedFixAllScopes() 33=> ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project, 34FixAllScope.Solution, FixAllScope.ContainingMember, FixAllScope.ContainingType); 59Contract.ThrowIfFalse(fixAllContext.Scope is FixAllScope.Document or 60FixAllScope.Project or FixAllScope.ContainingMember or FixAllScope.ContainingType);
CodeFixes\FixAllOccurrences\DocumentBasedFixAllProvider.cs (3)
32private readonly ImmutableArray<FixAllScope> _supportedFixAllScopes; 39protected DocumentBasedFixAllProvider(ImmutableArray<FixAllScope> supportedFixAllScopes) 67public sealed override IEnumerable<FixAllScope> GetSupportedFixAllScopes()
CodeFixes\FixAllOccurrences\FixAllContext.cs (18)
49/// <see cref="FixAllScope"/> to fix all occurrences. 51public FixAllScope Scope => State.Scope; 86Optional<FixAllScope> scope, 95/// This overload cannot be used with <see cref="FixAllScope.ContainingMember"/> or 96/// <see cref="FixAllScope.ContainingType"/> value for the <paramref name="scope"/>. 104/// <param name="scope"><see cref="FixAllScope"/> to fix all occurrences.</param> 114FixAllScope scope, 124if (scope is FixAllScope.ContainingMember or FixAllScope.ContainingType) 134/// using <see cref="FixAllScope.ContainingMember"/> or <see cref="FixAllScope.ContainingType"/> 141/// <param name="scope"><see cref="FixAllScope"/> to fix all occurrences.</param> 152FixAllScope scope, 178/// <param name="scope"><see cref="FixAllScope"/> to fix all occurrences.</param> 188FixAllScope scope, 206if (scope is FixAllScope.ContainingMember or FixAllScope.ContainingType) 344Optional<FixAllScope> scope = default,
CodeFixes\FixAllOccurrences\FixAllContext.DiagnosticProvider.cs (2)
79case FixAllScope.Project: 84case FixAllScope.Solution:
CodeFixes\FixAllOccurrences\FixAllContext.SpanBasedDiagnosticProvider.cs (2)
25/// We need to compute diagnostics for a span when applying a fix all operation in <see cref="FixAllScope.ContainingMember"/> 26/// and <see cref="FixAllScope.ContainingType"/> scopes.
CodeFixes\FixAllOccurrences\FixAllContextHelper.cs (5)
35case FixAllScope.Document: 45case FixAllScope.ContainingMember or FixAllScope.ContainingType: 61case FixAllScope.Project: 65case FixAllScope.Solution:
CodeFixes\FixAllOccurrences\FixAllProvider.cs (13)
21private protected static ImmutableArray<FixAllScope> DefaultSupportedFixAllScopes 22= ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project, FixAllScope.Solution); 27/// (a) <see cref="FixAllScope.Document"/> 28/// (b) <see cref="FixAllScope.Project"/> and 29/// (c) <see cref="FixAllScope.Solution"/> 31public virtual IEnumerable<FixAllScope> GetSupportedFixAllScopes() 73/// Supported <see cref="FixAllScope"/>s for the fix all provider. 74/// Note that <see cref="FixAllScope.Custom"/> is not supported by the <see cref="DocumentBasedFixAllProvider"/> 79ImmutableArray<FixAllScope> supportedFixAllScopes) 87if (supportedFixAllScopes.Contains(FixAllScope.Custom)) 104ImmutableArray<FixAllScope> supportedFixAllScopes)
CodeFixes\FixAllOccurrences\FixAllState.cs (6)
33FixAllScope scope, 41Debug.Assert(diagnosticSpan.HasValue || scope is not FixAllScope.ContainingMember or FixAllScope.ContainingType); 50protected override FixAllState With(Document? document, Project project, FixAllScope scope, string? codeActionEquivalenceKey) 82FixAllScope.Custom, 105FixAllScope.Custom,
CodeFixes\FixAllOccurrences\WellKnownFixAllProviders.cs (5)
19/// <see cref="FixAllScope.Document"/>, <see cref="FixAllScope.Project"/>, <see cref="FixAllScope.Solution"/> 20/// <see cref="FixAllScope.ContainingMember"/> and <see cref="FixAllScope.ContainingType"/>.
CodeFixesAndRefactorings\CommonFixAllState.cs (7)
8using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 23public FixAllScope Scope { get; } 33FixAllScope scope, 47protected abstract TFixAllState With(Document? document, Project project, FixAllScope scope, string? codeActionEquivalenceKey); 51Optional<FixAllScope> scope = default, 55var newScope = scope.HasValue ? scope.Value : Scope; 76Optional<FixAllScope> scope,
CodeFixesAndRefactorings\DefaultFixAllProviderHelpers.cs (6)
31FixAllScope.Document or FixAllScope.ContainingMember or FixAllScope.ContainingType 33FixAllScope.Project => await GetProjectFixesAsync(fixAllContext, fixAllContextsAsync).ConfigureAwait(false), 34FixAllScope.Solution => await GetSolutionFixesAsync(fixAllContext, fixAllContextsAsync).ConfigureAwait(false), 82sortedProjects.SelectAsArray(p => (TFixAllContext)fixAllContext.With((document: null, project: p), scope: FixAllScope.Project)));
CodeFixesAndRefactorings\DocumentBasedFixAllProviderHelpers.cs (4)
47Contract.ThrowIfFalse(fixAllContext.Scope is FixAllScope.Document or FixAllScope.Project 48or FixAllScope.ContainingMember or FixAllScope.ContainingType);
CodeFixesAndRefactorings\FixAllLogger.cs (2)
82case CodeFixes.FixAllScope.Project: 86case CodeFixes.FixAllScope.Solution:
CodeFixesAndRefactorings\FixAllProviderInfo.cs (6)
15/// Contains computed information for a given <see cref="FixAllProvider"/>, such as supported diagnostic Ids and supported <see cref="FixAllScope"/>. 20public readonly ImmutableArray<FixAllScope> SupportedScopes; 24ImmutableArray<FixAllScope> supportedScopes) 122ImmutableArray<FixAllScope> supportedScopes) 139ImmutableArray<FixAllScope> supportedScopes) 153ImmutableArray<FixAllScope> supportedScopes)
CodeFixesAndRefactorings\IFixAllContext.cs (3)
9using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 24FixAllScope Scope { get; } 32Optional<FixAllScope> scope = default,
CodeFixesAndRefactorings\IFixAllProvider.cs (2)
8using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 17IEnumerable<FixAllScope> GetSupportedFixAllScopes();
CodeFixesAndRefactorings\IFixAllState.cs (3)
8using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 20FixAllScope Scope { get; } 35Optional<FixAllScope> scope = default,
CodeRefactorings\CodeRefactoringProvider.cs (1)
24/// registered by this code refactoring provider across the supported <see cref="CodeFixes.FixAllScope"/>s.
CodeRefactorings\FixAllOccurences\DocumentBasedFixAllProvider.cs (8)
16using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 33private readonly ImmutableArray<FixAllScope> _supportedFixAllScopes; 40protected DocumentBasedFixAllProvider(ImmutableArray<FixAllScope> supportedFixAllScopes) 68public sealed override IEnumerable<FixAllScope> GetSupportedFixAllScopes() 90Contract.ThrowIfFalse(fixAllContext.Scope is FixAllScope.Document or FixAllScope.Project 91or FixAllScope.ContainingMember or FixAllScope.ContainingType);
CodeRefactorings\FixAllOccurences\FixAllContext.cs (5)
12using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 39/// <see cref="FixAllScope"/> to fix all occurrences. 41public FixAllScope Scope => State.Scope; 78Optional<FixAllScope> scope, 115Optional<FixAllScope> scope = default,
CodeRefactorings\FixAllOccurences\FixAllProvider.cs (14)
13using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 25private protected static ImmutableArray<FixAllScope> DefaultSupportedFixAllScopes 26= ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project, FixAllScope.Solution); 31/// (a) <see cref="FixAllScope.Document"/> 32/// (b) <see cref="FixAllScope.Project"/> and 33/// (c) <see cref="FixAllScope.Solution"/> 35public virtual IEnumerable<FixAllScope> GetSupportedFixAllScopes() 74/// Supported <see cref="FixAllScope"/>s for the fix all provider. 75/// Note that <see cref="FixAllScope.Custom"/> is not supported by the <see cref="DocumentBasedFixAllProvider"/> 80ImmutableArray<FixAllScope> supportedFixAllScopes) 88if (supportedFixAllScopes.Contains(FixAllScope.Custom)) 100ImmutableArray<FixAllScope> supportedFixAllScopes)
CodeRefactorings\FixAllOccurences\FixAllState.cs (13)
17using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 26/// to compute fix all spans for <see cref="FixAllScope.ContainingMember"/> 27/// and <see cref="FixAllScope.ContainingType"/> scopes. 41FixAllScope fixAllScope, 54FixAllScope fixAllScope, 68FixAllScope fixAllScope, 77protected override FixAllState With(Document? document, Project project, FixAllScope scope, string? codeActionEquivalenceKey) 92/// Gets the spans to fix by document for the <see cref="FixAllScope"/> for this fix all occurences fix. 100case FixAllScope.ContainingType or FixAllScope.ContainingMember: 111case FixAllScope.Document: 116case FixAllScope.Project: 120case FixAllScope.Solution:
CodeRefactorings\SyntaxEditorBasedCodeRefactoringProvider.cs (12)
13using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 19protected static readonly ImmutableArray<FixAllScope> DefaultFixAllScopes = ImmutableArray.Create(FixAllScope.Document, 20FixAllScope.Project, FixAllScope.Solution); 21protected static readonly ImmutableArray<FixAllScope> AllFixAllScopes = ImmutableArray.Create(FixAllScope.Document, 22FixAllScope.Project, FixAllScope.Solution, FixAllScope.ContainingType, FixAllScope.ContainingMember); 24protected abstract ImmutableArray<FixAllScope> SupportedFixAllScopes { get; }
FixAllHelper.cs (8)
6using FixAllScope = Microsoft.CodeAnalysis.CodeFixes.FixAllScope; 13FixAllScope fixAllScope, 20FixAllScope.Custom => string.Format(WorkspaceExtensionsResources.Fix_all_0, title), 21FixAllScope.Document => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_1, title, triggerDocument.Name), 22FixAllScope.Project => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_1, title, triggerProject.Name), 23FixAllScope.Solution => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_Solution, title), 24FixAllScope.ContainingMember => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_Containing_member, title), 25FixAllScope.ContainingType => string.Format(WorkspaceExtensionsResources.Fix_all_0_in_Containing_type, title),
LanguageServices\FixAllSpanMappingService\AbstractFixAllSpanMappingService.cs (4)
23Document document, TextSpan triggerSpan, FixAllScope fixAllScope, CancellationToken cancellationToken) 25Contract.ThrowIfFalse(fixAllScope is FixAllScope.ContainingMember or FixAllScope.ContainingType); 27var fixAllInContainingMember = fixAllScope == FixAllScope.ContainingMember;
LanguageServices\FixAllSpanMappingService\IFixAllSpanMappingService.cs (9)
15/// Language service for mapping spans for specific <see cref="FixAllScope"/>s for fix all occurences code fix. 16/// Every language that wants to support span based FixAll scopes, such as <see cref="FixAllScope.ContainingMember"/>, 17/// <see cref="FixAllScope.ContainingType"/>, should implement this language service. Non-span based FixAll scopes, 18/// such as <see cref="FixAllScope.Document"/>, <see cref="FixAllScope.Project"/> and <see cref="FixAllScope.Solution"/> 27/// Note that this API is only invoked for span based FixAll scopes, i.e. <see cref="FixAllScope.ContainingMember"/> 28/// and <see cref="FixAllScope.ContainingType"/>. 31Document document, TextSpan triggerSpan, FixAllScope fixAllScope, CancellationToken cancellationToken);
Shared\Extensions\TelemetryExtensions.cs (7)
41public static short GetScopeIdForTelemetry(this FixAllScope scope) 44FixAllScope.Document => 1, 45FixAllScope.Project => 2, 46FixAllScope.Solution => 3, 47FixAllScope.Custom => 4, 48FixAllScope.ContainingMember => 5, 49FixAllScope.ContainingType => 6,
SyntaxEditorBasedCodeFixProvider.cs (6)
19private static readonly ImmutableArray<FixAllScope> s_defaultSupportedFixAllScopes = 20ImmutableArray.Create(FixAllScope.Document, FixAllScope.Project, FixAllScope.Solution, 21FixAllScope.ContainingMember, FixAllScope.ContainingType);
Microsoft.VisualStudio.IntegrationTest.Utilities (6)
InProcess\TextViewWindow_InProc.cs (3)
371public bool ApplyLightBulbAction(string actionName, FixAllScope? fixAllScope, bool blockUntilComplete) 392private Func<IWpfTextView, Task<bool>> GetLightBulbApplicationAction(string actionName, FixAllScope? fixAllScope, bool willBlockUntilComplete) 503private static async Task<AbstractFixAllSuggestedAction?> GetFixAllSuggestedActionAsync(JoinableTaskFactory joinableTaskFactory, IEnumerable<SuggestedActionSet> actionSets, FixAllScope fixAllScope)
OutOfProcess\TextViewWindow_OutOfProc.cs (1)
86public bool ApplyLightBulbAction(string action, FixAllScope? fixAllScope, bool blockUntilComplete = true)
OutOfProcess\TextViewWindow_OutOfProc.Verifier.cs (2)
34FixAllScope? fixAllScope = null, 63FixAllScope? fixAllScope = null,
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (18)
CSharp\CSharpCodeActions.cs (13)
259fixAllScope: FixAllScope.Project, 286fixAllScope: FixAllScope.Project, 329[InlineData(FixAllScope.Project)] 330[InlineData(FixAllScope.Solution)] 333public async Task FixAllOccurrencesIgnoresGeneratedCode(FixAllScope scope) 397fixAllScope: FixAllScope.Document, 416[InlineData(FixAllScope.Project)] 417[InlineData(FixAllScope.Solution)] 420public async Task FixAllOccurrencesTriggeredFromGeneratedCode(FixAllScope scope) 999fixAllScope: FixAllScope.ContainingMember, 1165fixAllScope: FixAllScope.ContainingType, 1245fixAllScope: FixAllScope.ContainingMember, 1379fixAllScope: FixAllScope.ContainingType,
InProcess\EditorInProcess.cs (3)
771public async Task<bool> ApplyLightBulbActionAsync(string actionName, FixAllScope? fixAllScope, bool blockUntilComplete, CancellationToken cancellationToken) 798private Func<IWpfTextView, CancellationToken, Task<bool>> GetLightBulbApplicationAction(string actionName, FixAllScope? fixAllScope, bool willBlockUntilComplete) 930private async Task<AbstractFixAllSuggestedAction?> GetFixAllSuggestedActionAsync(IEnumerable<SuggestedActionSet> actionSets, FixAllScope fixAllScope, CancellationToken cancellationToken)
InProcess\EditorVerifierInProcess.cs (2)
130FixAllScope? fixAllScope = null, 158FixAllScope? fixAllScope = null,
Roslyn.VisualStudio.DiagnosticsWindow (1)
Panels\TelemetryPanel.xaml.cs (1)
57var fixAllScopeValues = Enum.GetValues(typeof(FixAllScope));