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

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

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

Definition at line 95 of file ImmutableList.cs.

96 {
97 Requires.NotNull(list, "list");
98 if (list.Count == 0)
99 {
100 return -1;
101 }
102 return list.LastIndexOf(item, list.Count - 1, list.Count, EqualityComparer<T>.Default);
103 }

References System.item, and System.list.