Table of Contents

Method GetCodeFixes

Namespace
Alternet.Editor.TextSource
Assembly
Alternet.Editor.v9.dll

GetCodeFixes(ISyntaxError, bool)

Gets code fixes for a given syntax error.

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

Parameters

error ISyntaxError

Specifies syntax error..

allDocuments bool

Specifies if all documents in the solution need to be processed.

Returns

IList<ICodeFix>

List of code fixes for a given error if succeed; otherwise null.