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

◆ ValidateInt32MaxArrayLength()

static void System.Text.Json.JsonHelpers.ValidateInt32MaxArrayLength ( uint length)
inlinestatic

Definition at line 113 of file JsonHelpers.cs.

114 {
115 if (length > 2146435071)
116 {
117 ThrowHelper.ThrowOutOfMemoryException(length);
118 }
119 }

References System.length, and System.Text.Json.ThrowHelper.ThrowOutOfMemoryException().

Referenced by System.Text.Json.Utf8JsonWriter.Grow().