4 writes to NextToken
Microsoft.CodeAnalysis.Features (4)
ExtractMethod\AbstractSyntaxTriviaService.Result.cs (4)
218
NextToken
= tokens[TriviaLocation.BeforeBeginningOfSpan].GetNextToken(includeZeroWidth: true)
224
NextToken
= tokens[TriviaLocation.AfterBeginningOfSpan]
230
NextToken
= tokens[TriviaLocation.BeforeEndOfSpan].GetNextToken(includeZeroWidth: true)
236
NextToken
= tokens[TriviaLocation.AfterEndOfSpan]
5 references to NextToken
Microsoft.CodeAnalysis.Features (5)
ExtractMethod\AbstractSyntaxTriviaService.Result.cs (5)
66
var nextToken = map.GetOrAdd(localCopy.Item1.
NextToken
, _ => localCopy.Item1.
NextToken
);
67
map[localCopy.Item1.
NextToken
] = nextToken.WithLeadingTrivia(localCopy.Item2.LeadingTrivia);
275
triviaMap.TryGetValue(tokenPair.
NextToken
, out var nextTriviaPair);
278
return tokenPair.PreviousToken.TrailingTrivia.Concat(trailingTrivia).Concat(leadingTrivia).Concat(tokenPair.
NextToken
.LeadingTrivia);