6 references to GetAnnotatedTokens
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
56var newTokenLine = newDocument.Text.Lines.GetLineFromPosition(newRoot.GetAnnotatedTokens(annotation).Single().SpanStart);
Microsoft.CodeAnalysis.Features (4)
AddImport\References\Reference.cs (1)
98var newContextNode = newRoot.GetAnnotatedTokens(annotation).First().Parent;
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaHelpers.cs (1)
44newEndToken = root.ReplaceToken(startToken, newStartToken.WithAdditionalAnnotations(annotation)).GetAnnotatedTokens(annotation).Single();
Completion\Providers\AbstractMemberInsertingCompletionProvider.cs (1)
165var targetToken = insertionRoot.GetAnnotatedTokens(_otherAnnotation).FirstOrNull();
ExtractMethod\MethodExtractor.VariableInfo.cs (1)
124=> node.GetAnnotatedTokens(_variableSymbol.IdentifierTokenAnnotation).SingleOrDefault();
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
56var newTokenLine = newDocument.Text.Lines.GetLineFromPosition(newRoot.GetAnnotatedTokens(annotation).Single().SpanStart);