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

◆ ThrowInvalidOperationOrArgumentException() [2/2]

static void System.Text.Json.ThrowHelper.ThrowInvalidOperationOrArgumentException ( ReadOnlySpan< char > propertyName,
int currentDepth )
inlinestatic

Definition at line 159 of file ThrowHelper.cs.

160 {
161 currentDepth &= 0x7FFFFFFF;
162 if (currentDepth >= 1000)
163 {
165 }
166 else
167 {
169 }
170 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string PropertyNameTooLarge
Definition SR.cs:102
static string DepthTooLarge
Definition SR.cs:42
Definition SR.cs:7
static void ThrowArgumentException(string message)
static void ThrowInvalidOperationException(int currentDepth)

References System.SR.DepthTooLarge, System.Text.Json.Dictionary, System.SR.Format(), System.SR.PropertyNameTooLarge, System.Text.Json.ThrowHelper.ThrowArgumentException(), and System.Text.Json.ThrowHelper.ThrowInvalidOperationException().