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

◆ ThrowOutOfMemoryException()

static void System.Text.Json.ThrowHelper.ThrowOutOfMemoryException ( uint capacity)
inlinestatic

Definition at line 484 of file ThrowHelper.cs.

485 {
486 throw new OutOfMemoryException(System.SR.Format(System.SR.BufferMaximumSizeExceeded, capacity));
487 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string BufferMaximumSizeExceeded
Definition SR.cs:18
Definition SR.cs:7

References System.SR.BufferMaximumSizeExceeded, System.capacity, and System.SR.Format().

Referenced by System.Text.Json.JsonHelpers.ValidateInt32MaxArrayLength().