14 references to AfterEndOfSpan
Microsoft.CodeAnalysis.Features (14)
ExtractMethod\AbstractSyntaxTriviaService.cs (7)
87
token = map.GetOrAdd(tokens[TriviaLocation.
AfterEndOfSpan
], _ => tokens[TriviaLocation.
AfterEndOfSpan
]);
88
map[tokens[TriviaLocation.
AfterEndOfSpan
]] = token.WithLeadingTrivia(emptyList).WithAdditionalAnnotations(annotations[TriviaLocation.
AfterEndOfSpan
]);
96
var triviaAtEnd = SplitTrivia(tokens[TriviaLocation.BeforeEndOfSpan], tokens[TriviaLocation.
AfterEndOfSpan
], t => t.FullSpan.Start < textSpan.End);
104
[TriviaLocation.
AfterEndOfSpan
] = triviaAtEnd.Item2
117
tokens[TriviaLocation.
AfterEndOfSpan
] = tokens[TriviaLocation.BeforeEndOfSpan].GetNextToken(includeZeroWidth: true);
ExtractMethod\AbstractSyntaxTriviaService.Result.cs (7)
159
for (var i = (int)TriviaLocation.BeforeBeginningOfSpan; i <= (int)TriviaLocation.
AfterEndOfSpan
; i++)
200
tuple = map.GetOrAdd(tokens[TriviaLocation.
AfterEndOfSpan
], _ => default);
201
map[tokens[TriviaLocation.
AfterEndOfSpan
]] = new LeadingTrailingTriviaPair
203
LeadingTrivia = _triviaList[TriviaLocation.
AfterEndOfSpan
],
233
[TriviaLocation.
AfterEndOfSpan
] = new PreviousNextTokenPair
235
PreviousToken = tokens[TriviaLocation.
AfterEndOfSpan
].GetPreviousToken(includeZeroWidth: true),
236
NextToken = tokens[TriviaLocation.
AfterEndOfSpan
]