Table of Contents

Method HasCodeFixes

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

HasCodeFixes(ISyntaxError, bool)

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

bool HasCodeFixes(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

bool

True if code fixes are available, otherwise false.