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
error
ISyntaxErrorSyntaxe error or warning
allDocuments
boolSpecifies if search needs to process all documents in the solution
cancellationToken
CancellationTokenCancellation token