10 references to FindTokenFromEnd
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (1)
283
var token = root.
FindTokenFromEnd
(position);
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\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\BaseIndentationFormattingRule.cs (1)
153
token2 = root.
FindTokenFromEnd
(span.End);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
228
var token = Root.
FindTokenFromEnd
(LineToBeIndented.Start);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\CommonFormattingHelpers.cs (1)
362
var endToken = root.
FindTokenFromEnd
(span.End).GetNextToken();
Microsoft.VisualStudio.LanguageServices (1)
LanguageService\AbstractLanguageService`2.IVsLanguageTextOps.cs (1)
100
var nextToken = root.
FindTokenFromEnd
(end).GetNextToken();