12 references to Last
Microsoft.CodeAnalysis.CSharp.Features (3)
ConvertToRawString\ConvertInterpolatedStringToRawStringCodeRefactoringProvider.cs (1)
123characters.Last().Rune.Value == '"')
ConvertToRawString\ConvertToRawStringHelpers.cs (1)
20characters.Last().Rune.Value == '"')
EmbeddedLanguages\CSharpTestEmbeddedLanguageClassifier.cs (1)
95virtualCharsWithoutMarkup.Last().Span.End));
Microsoft.CodeAnalysis.Features (5)
EmbeddedLanguages\Json\JsonParser.cs (1)
591? new TextSpan(_lexer.Text.Last().Span.End, 0)
EmbeddedLanguages\RegularExpressions\RegexParser.CaptureInfoAnalyzer.cs (2)
143? _text.Last() 144: grouping.CloseParenToken.VirtualChars.Last();
EmbeddedLanguages\RegularExpressions\RegexParser.cs (1)
711? new TextSpan(_lexer.Text.Last().Span.End, 0)
src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationHelpers.cs (1)
200: TextSpan.FromBounds(sequence.First().Span.Start, sequence.Last().Span.End);
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxHelpers.cs (2)
13=> GetSpan(token1.VirtualChars[0], token2.VirtualChars.Last()); 16=> GetSpan(virtualChars[0], virtualChars.Last());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxNode.cs (1)
119end = Math.Max(token.VirtualChars.Last().Span.End, end);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\AbstractVirtualCharService.cs (1)
112var lastVC = result.Last();