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

◆ GetEnumerator() [1/2]

IEnumerator< IGrouping< TKey, TElement > > System.Linq.Lookup< TKey, TElement >.GetEnumerator ( )
inline

Implements System.Collections.Generic.IEnumerable< out T >.

Definition at line 133 of file Lookup.cs.

134 {
136 if (g != null)
137 {
138 do
139 {
140 g = g._next;
141 yield return g;
142 }
143 while (g != _lastGrouping);
144 }
145 }
Grouping< TKey, TElement > _lastGrouping
Definition Lookup.cs:15

References System.Linq.Lookup< TKey, TElement >._lastGrouping.

Referenced by System.Linq.Lookup< TKey, TElement >.GetEnumerator().