6 references to Last
Microsoft.CodeAnalysis.CSharp (3)
CommandLine\CommandLineDiagnosticFormatter.cs (1)
74PathUtilities.IsDirectorySeparator(normalizedBaseDirectory.Last())
Syntax\SyntaxNormalizer.cs (2)
913var tokenLastChar = token.Text.Last(); 1237return text.Length > 0 && SyntaxFacts.IsNewLine(text.Last());
Microsoft.CodeAnalysis.VisualBasic (3)
Syntax\SyntaxNodeFactories.vb (1)
383If MakeHalfWidthIdentifier(text.First) = "[" AndAlso MakeHalfWidthIdentifier(text.Last) = "]" Then
Syntax\SyntaxNormalizer.vb (2)
167If newToken.TrailingTrivia.Count = 0 AndAlso IsNewLineChar(newToken.ValueText.Last) Then 625Return text.Length > 0 AndAlso IsNewLineChar(text.Last())