4 references to LastOrNull
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Diagnostics\Suppression\SuppressionTests.cs (1)
1155
=> line.
LastOrNull
() is char last && char.IsWhiteSpace(last);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
SyntaxTriviaListExtensions.cs (2)
28
.
LastOrNull
();
35
.
LastOrNull
();
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Structure\Providers\DocumentationCommentStructureProvider.vb (1)
22
Dim lastCommentToken = documentationComment.ChildNodesAndTokens().
LastOrNull
()