Method HasCodeRefactors
HasCodeRefactors(Document, TextSpan, bool, CancellationToken)
Indicates whether the document has any code refactors for the specified text span.
public 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.