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

◆ CopyTo() [1/2]

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

Definition at line 44 of file JsonPropertyDictionary.cs.

45 {
46 if (index < 0)
47 {
48 ThrowHelper.ThrowArgumentOutOfRangeException_NodeArrayIndexNegative("index");
49 }
51 {
52 if (index >= propertyNameArray.Length)
53 {
54 ThrowHelper.ThrowArgumentException_NodeArrayTooSmall("propertyNameArray");
55 }
57 }
58 }

References System.Text.Json.JsonPropertyDictionary< T >.KeyCollection._parent, System.index, System.item, System.Text.Json.ThrowHelper.ThrowArgumentException_NodeArrayTooSmall(), and System.Text.Json.ThrowHelper.ThrowArgumentOutOfRangeException_NodeArrayIndexNegative().