CodeFixProvider.GetFixAllProvider Method
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.
Gets an optional FixAllProvider that can fix all/multiple occurrences of diagnostics fixed by this code fix provider. Return null if the provider doesn't support fix all/multiple occurrences. Otherwise, you can return any of the well known fix all providers from WellKnownFixAllProviders or implement your own fix all provider.
public:
virtual Microsoft::CodeAnalysis::CodeFixes::FixAllProvider ^ GetFixAllProvider();
public virtual Microsoft.CodeAnalysis.CodeFixes.FixAllProvider GetFixAllProvider ();
public virtual Microsoft.CodeAnalysis.CodeFixes.FixAllProvider? GetFixAllProvider ();
abstract member GetFixAllProvider : unit -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider
override this.GetFixAllProvider : unit -> Microsoft.CodeAnalysis.CodeFixes.FixAllProvider
Public Overridable Function GetFixAllProvider () As FixAllProvider
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.