MemberDeclarationListInfo.LastIndexOf Method
Containing Type: MemberDeclarationListInfo
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
LastIndexOf(Func<MemberDeclarationSyntax, Boolean>) | Searches for a member that matches the predicate and returns zero-based index of the last occurrence in the list. |
LastIndexOf(MemberDeclarationSyntax) | Searches for a member and returns zero-based index of the last occurrence in the list. |
LastIndexOf(Func<MemberDeclarationSyntax, Boolean>)
Searches for a member that matches the predicate and returns zero-based index of the last occurrence in the list.
public int LastIndexOf(Func<Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax, bool> predicate)
Parameters
predicate Func<MemberDeclarationSyntax, Boolean>
Returns
LastIndexOf(MemberDeclarationSyntax)
Searches for a member and returns zero-based index of the last occurrence in the list.
public int LastIndexOf(Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax member)
Parameters
member MemberDeclarationSyntax