Method HasCodeRefactorsAsync
HasCodeRefactorsAsync(Point, Point, bool, CancellationToken)
Determines if code fixes are available for a given syntax error in async mode.
public virtual Task<bool> HasCodeRefactorsAsync(Point startPos, Point endPos, bool allDocuments = false, CancellationToken cancellationToken = default)
Parameters
startPos
PointStart position within the text.
endPos
PointEnd position within the text.
allDocuments
boolSpecifies if all documents in the solution need to be processed.
cancellationToken
CancellationTokenCancellation token