Click or drag to resize

FixAllProvider Class



Implement this abstract type to provide fix all/multiple occurrences code fixes for source code problems. Alternatively, you can use any of the well known fix all providers from WellKnownFixAllProviders.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.CodeFixesFixAllProvider

Namespace:  Microsoft.CodeAnalysis.CodeFixes
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public abstract class FixAllProvider

The FixAllProvider type exposes the following members.

Constructors
  NameDescription
Protected methodFixAllProvider
Initializes a new instance of the FixAllProvider class
Top
Methods
  NameDescription
Public methodGetFixAsync
Public methodGetSupportedFixAllDiagnosticIds
Public methodGetSupportedFixAllScopes
Gets the supported scopes for fixing all occurrences of a diagnostic. By default, it returns the following scopes: (a) Document (b) Project and (c) Solution
Top
See Also