Table of Contents

Method GetCodeFixes

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

GetCodeFixes(ISyntaxError, bool)

When implemented by a class, retrieves all code fixes available for the given syntax error.

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

Parameters

error ISyntaxError

Syntax error or warning

allDocuments bool

Specifies all documents in the solution needs to be processed.

Returns

IList<ICodeFix>

Collection of available code fixes