MemberDeclarationListInfo.LastOrDefault() Method
Containing Type: MemberDeclarationListInfo
Assembly: Roslynator.CSharp.dll
The last member in the list or null if the list is empty.
public Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax? LastOrDefault()