terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ CopyTo() [1/4]

void ICollection. System.Collections.Generic.Dictionary< TKey, TValue >.KeyCollection.CopyTo ( Array array,
int index )
inlineprivate

Definition at line 1152 of file Dictionary.cs.

1153 {
1154 if (array == null)
1155 {
1156 }
1157 int rank = array.Rank;
1158 long num = 0L;
1159 if (array.GetLowerBound((int)num) != 0)
1160 {
1161 }
1162 int length = array.Length;
1164 int length2 = array.Length;
1166 int freeCount = dictionary._freeCount;
1167 if (array != null)
1168 {
1169 IEqualityComparer comparer = dictionary._comparer;
1170 return;
1171 }
1172 if (array == null)
1173 {
1175 }
1177 int count = dictionary2._count;
1179 if (keys == null || keys != null)
1180 {
1181 return;
1182 }
1183 throw new ArrayTypeMismatchException();
1184 }
class f__AnonymousType0<< Count > j__TPar
static void ThrowArgumentException_Argument_InvalidArrayType()
static void ThrowIndexArgumentOutOfRange_NeedNonNegNumException()

References System.Collections.Generic.Dictionary< TKey, TValue >._count, System.Collections.Generic.Dictionary< TKey, TValue >.KeyCollection._dictionary, System.Collections.Generic.Dictionary< TKey, TValue >._freeCount, System.array, System.comparer, System.count, System.dictionary, j__TPar, System.L, System.length, System.ThrowHelper.ThrowArgumentException_Argument_InvalidArrayType(), and System.ThrowHelper.ThrowIndexArgumentOutOfRange_NeedNonNegNumException().