FixAll providers are VS IDE extensions that register code actions for batch fixes corresponding to code actions registered by a specific code fix provider. The primary APIs on FixAllProvider are:
- GetSupportedFixAllScopes property (virtual): This gets the supported scopes for fixing all occurrences of a diagnostic. By default, it returns document, project, and solution scopes.
- GetSupportedFixAllDiagnosticIds method (virtual): This gets the diagnostic IDs for which fix all occurrences is supported. By default, it returns the FixableDiagnosticIds of the corresponding code fix provider.
- GetFixAsync method (abstract): This is the primary method that takes a FixAllContext argument and returns a code action for a batch fix corresponding ...