Udostępnij za pośrednictwem


CodeFixProvider.GetFixAllProvider Method

Definition

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