Implemented interface member:
property
Scope
Microsoft.CodeAnalysis.CodeFixesAndRefactorings.IFixAllContext.Scope
25 references to Scope
Microsoft.CodeAnalysis.Analyzers (6)
MetaAnalyzers\Fixers\AnalyzerReleaseTrackingFix.FixAllProvider.cs (3)
28switch (fixAllContext.Scope) 60Debug.Fail($"Unknown FixAllScope '{fixAllContext.Scope}'"); 70return new FixAllAdditionalDocumentChangeAction(fixAllContext.Scope, fixAllContext.Solution, diagnosticsToFix, fixAllContext.CodeActionEquivalenceKey);
MetaAnalyzers\Fixers\DefineDiagnosticDescriptorArgumentsCorrectlyFix.CustomFixAllProvider.cs (3)
41switch (fixAllContext.Scope) 73Debug.Fail($"Unknown FixAllScope '{fixAllContext.Scope}'"); 77return new FixAllAdditionalDocumentChangeAction(fixAllContext.Scope, fixAllContext.Solution, diagnosticsToFix, fixAllContext.CodeActionEquivalenceKey);
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (1)
30var diagnostics = fixAllContext.Scope switch
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextExtensions.cs (1)
13=> FixAllHelper.GetDefaultFixAllTitle(context.Scope, title: context.DiagnosticIds.First(), context.Document!, context.Project);
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (1)
30var diagnostics = fixAllContext.Scope switch
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (6)
AnnotatePublicApiFix.cs (2)
189switch (fixAllContext.Scope) 224Debug.Fail($"Unknown FixAllScope '{fixAllContext.Scope}'");
DeclarePublicApiFix.cs (2)
334switch (fixAllContext.Scope) 369Debug.Fail($"Unknown FixAllScope '{fixAllContext.Scope}'");
NullableEnablePublicApiFix.cs (2)
125switch (fixAllContext.Scope) 154Debug.Fail($"Unknown FixAllScope '{fixAllContext.Scope}'");
Microsoft.CodeAnalysis.Workspaces (5)
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (1)
56Contract.ThrowIfFalse(fixAllContext.Scope is FixAllScope.Document or
CodeFixes\FixAllOccurrences\FixAllContext.DiagnosticProvider.cs (1)
78switch (fixAllContext.Scope)
CodeFixes\FixAllOccurrences\FixAllContextHelper.cs (2)
33switch (fixAllContext.Scope) 54diagnosticSpan.Value, fixAllContext.Scope, fixAllContext.CancellationToken).ConfigureAwait(false);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\FixAllContextExtensions.cs (1)
13=> FixAllHelper.GetDefaultFixAllTitle(context.Scope, title: context.DiagnosticIds.First(), context.Document!, context.Project);
Microsoft.Interop.ComInterfaceGenerator (2)
src\libraries\System.Runtime.InteropServices\gen\Common\FixAllContextExtensions.cs (2)
17switch (context.Scope) 50switch (context.Scope)
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\CustomMarshallerAttributeFixer.cs (1)
89switch (context.Scope)
src\libraries\System.Runtime.InteropServices\gen\Common\FixAllContextExtensions.cs (2)
17switch (context.Scope) 50switch (context.Scope)