Table of Contents

Method GetCodeFixes

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

GetCodeFixes(ISyntaxError, bool)

Retrieves all code fixes available for the given syntax error.

public virtual IList<ICodeFix> GetCodeFixes(ISyntaxError error, bool allDocuments = false)

Parameters

error ISyntaxError

Syntaxe error or warning

allDocuments bool

Specifies if search needs to process all documents in the solution

Returns

IList<ICodeFix>

Collection of available code fixes.