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

◆ Copy< T >()

static void System.Collections.Generic.EnumerableHelpers.Copy< T > ( IEnumerable< T > source,
T[] array,
int arrayIndex,
int count )
inlinestaticpackage

Definition at line 51 of file EnumerableHelpers.cs.

52 {
53 if (source is ICollection<T> collection)
54 {
56 }
57 else
58 {
59 IterativeCopy(source, array, arrayIndex, count);
60 }
61 }

References System.array, System.arrayIndex, System.collection, System.count, and System.source.