Method HasCodeRefactors
HasCodeRefactors(Document, TextSpan, bool, CancellationToken)
When implemented by a class, indicates whether the document has any code refactors for the specified text span.
Task<bool> HasCodeRefactors(Document document, TextSpan textSpan, bool allDocuments, CancellationToken cancellationToken)
Parameters
document
DocumentThe document to refactor.
textSpan
TextSpanText span within the document.
allDocuments
boolIndicates whether all documents should be processed.
cancellationToken
CancellationTokenCancellation token.