Table of Contents

Method HasCodeRefactors

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

HasCodeRefactors(Point, Point, bool)

When implemented by a class, determines if code fixes are available for a given syntax error.

public virtual bool HasCodeRefactors(Point startPos, Point endPos, bool allDocuments = false)

Parameters

startPos Point

Start position within the text.

endPos Point

End position within the text.

allDocuments bool

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

Returns

bool

True if code fixes are available, otherwise false.