Method GetCodeFixesAsync
GetCodeFixesAsync(ISyntaxError, bool, CancellationToken)
Retrieves all code fixes available for the given syntax error in async mode.
public virtual Task<IList<ICodeFix>> GetCodeFixesAsync(ISyntaxError error, bool allDocuments = false, CancellationToken cancellationToken = default)
Parameters
errorISyntaxErrorSyntaxe error or warning
allDocumentsboolSpecifies if search needs to process all documents in the solution
cancellationTokenCancellationTokenCancellation token