5 references to Last
Microsoft.CodeAnalysis.CodeStyle (5)
src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationHelpers.cs (1)
188
: TextSpan.FromBounds(sequence.First().Span.Start, sequence.
Last
().Span.End);
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)
119
end = Math.Max(token.VirtualChars.
Last
().Span.End, end);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\AbstractVirtualCharService.cs (1)
113
var lastVC = result.
Last
();