Method HasCodeFixesAsync
HasCodeFixesAsync(ISyntaxError, bool, CancellationToken)
When implemented by a class, determines if any code fixes are available for the given syntax error in async mode.
Task<bool> HasCodeFixesAsync(ISyntaxError error, bool allDocuments, CancellationToken cancellationToken)
Parameters
errorISyntaxErrorSyntax error or warning
allDocumentsboolSpecifies if search needs to process all documents in the solution
cancellationTokenCancellationTokenCancellation token