Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ LastIndexOf< T >() [2/4]

static int System.Collections.Immutable.ImmutableList< T >.LastIndexOf< T > ( this IImmutableList< T > list,
T item,
IEqualityComparer< T >? equalityComparer )
inlinestatic

Definition at line 105 of file ImmutableList.cs.

106 {
107 Requires.NotNull(list, "list");
108 if (list.Count == 0)
109 {
110 return -1;
111 }
112 return list.LastIndexOf(item, list.Count - 1, list.Count, equalityComparer);
113 }

References System.item, and System.list.