Method HasCodeFixes
HasCodeFixes(ISyntaxError, bool)
Determines if code fixes are available for a given syntax error.
public virtual bool HasCodeFixes(ISyntaxError error, bool allDocuments = false)
Parameters
error
ISyntaxErrorSpecifies syntax error.
allDocuments
boolSpecifies if all documents in the solution need to be processed.
Returns
- bool
True if code fixes are available, otherwise false.