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
errorISyntaxErrorSpecifies syntax error.
allDocumentsboolSpecifies if all documents in the solution need to be processed.
Returns
- bool
True if code fixes are available, otherwise false.