Method HasCodeFixesAsync
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
HasCodeFixesAsync(ISyntaxError, bool, CancellationToken)
Determines if code fixes are available for a given syntax error in async mode.
public virtual Task<bool> HasCodeFixesAsync(ISyntaxError error, bool allDocuments = false, CancellationToken cancellationToken = default)
Parameters
error
ISyntaxErrorSpecifies syntax error.
allDocuments
boolSpecifies if all documents in the solution need to be processed.
cancellationToken
CancellationTokenCancellation token