FixAllScope Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates scope for "Fix all occurrences" code fixes provided by each FixAllProvider.
public enum class FixAllScope
public enum FixAllScope
type FixAllScope =
Public Enum FixAllScope
- Inheritance
-
FixAllScope
Fields
ContainingMember | 4 | Scope to fix all occurrences of diagnostic(s) in the containing member relative to the trigger span for the original code fix. |
ContainingType | 5 | Scope to fix all occurrences of diagnostic(s) in the containing type relative to the trigger span for the original code fix. |
Custom | 3 | Custom scope to fix all occurences of diagnostic(s). This scope can be used by custom FixAllProviders and custom code fix engines. |
Document | 0 | Scope to fix all occurences of diagnostic(s) in the entire document. |
Project | 1 | Scope to fix all occurences of diagnostic(s) in the entire project. |
Solution | 2 | Scope to fix all occurences of diagnostic(s) in the entire solution. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for