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

◆ CopyTo()

void System.Text.Json.JsonPropertyDictionary< T >.CopyTo ( KeyValuePair< string, T >[] array,
int index )
inline

Definition at line 254 of file JsonPropertyDictionary.cs.

255 {
256 if (index < 0)
257 {
258 ThrowHelper.ThrowArgumentOutOfRangeException_NodeArrayIndexNegative("index");
259 }
261 {
262 if (index >= array.Length)
263 {
264 ThrowHelper.ThrowArgumentException_NodeArrayTooSmall("array");
265 }
266 array[index++] = property;
267 }
268 }
readonly List< KeyValuePair< string, T > > _propertyList

References System.Text.Json.JsonPropertyDictionary< T >._propertyList, System.array, System.Text.Json.Dictionary, System.index, System.Text.Json.ThrowHelper.ThrowArgumentException_NodeArrayTooSmall(), and System.Text.Json.ThrowHelper.ThrowArgumentOutOfRangeException_NodeArrayIndexNegative().