共用方式為


WellKnownFixAllProviders.BatchFixer Property

Definition

Default batch fix all provider. This provider batches all the individual diagnostic fixes across the scope of fix all action, computes fixes in parallel and then merges all the non-conflicting fixes into a single fix all code action. This fixer supports fixes for the following fix all scopes: Document, Project, SolutionContainingMember and ContainingType.

public:
 static property Microsoft::CodeAnalysis::CodeFixes::FixAllProvider ^ BatchFixer { Microsoft::CodeAnalysis::CodeFixes::FixAllProvider ^ get(); };
public static Microsoft.CodeAnalysis.CodeFixes.FixAllProvider BatchFixer { get; }
static member BatchFixer : Microsoft.CodeAnalysis.CodeFixes.FixAllProvider
Public Shared ReadOnly Property BatchFixer As FixAllProvider

Property Value

Remarks

The batch fix all provider only batches operations (i.e. CodeActionOperation) of type ApplyChangesOperation present within the individual diagnostic fixes. Other types of operations present within these fixes are ignored.

Applies to