Table of Contents

Method HasCodeFixes

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

HasCodeFixes(ISyntaxError, bool)

Determines if code fixes are available for a given syntax error.

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