8 references to FindTokenFromEnd
Microsoft.CodeAnalysis.Features (4)
BraceCompletion\AbstractBraceCompletionService.cs (1)
149
var closingToken = document.Root.
FindTokenFromEnd
(closingPosition, includeZeroWidth: false, findInsideTrivia: true);
ExtractMethod\SelectionValidator.cs (2)
70
var token2 = root.
FindTokenFromEnd
(textSpan.End);
144
var token2 = root.
FindTokenFromEnd
(textSpan.End);
ReplaceDocCommentTextWithTag\AbstractReplaceDocCommentTextWithTagCodeRefactoringProvider.cs (1)
32
token = root.
FindTokenFromEnd
(span.Start, findInsideTrivia: true);
Microsoft.CodeAnalysis.Workspaces (4)
CodeCleanup\AbstractCodeCleanerService.cs (1)
368
endToken = root.
FindTokenFromEnd
(span.End, findInsideTrivia: true);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\BaseIndentationFormattingRule.cs (1)
153
token2 = root.
FindTokenFromEnd
(span.End);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
228
var token = Root.
FindTokenFromEnd
(LineToBeIndented.Start);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CommonFormattingHelpers.cs (1)
362
var endToken = root.
FindTokenFromEnd
(span.End).GetNextToken();