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
documentDocumentThe document to refactor.
textSpanTextSpanText span within the document.
allDocumentsboolIndicates whether all documents should be processed.
cancellationTokenCancellationTokenCancellation token.