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

◆ ThrowOutOfMemoryException_BufferMaximumSizeExceeded()

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

Definition at line 14 of file ThrowHelper.cs.

15 {
16 throw new OutOfMemoryException(System.SR.Format(System.SR.BufferMaximumSizeExceeded, capacity));
17 }
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.PooledByteBufferWriter.CheckAndResizeBuffer().