Table of Contents

Method HasCodeFixes

Namespace
Alternet.Syntax.Parsers.TypeScript
Assembly
Alternet.Syntax.Parsers.TypeScript.v9.dll

HasCodeFixes(ISyntaxError, bool)

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

public override 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.