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

◆ ValidatePropertyAndValue() [2/4]

static void System.Text.Json.JsonWriterHelper.ValidatePropertyAndValue ( ReadOnlySpan< byte > propertyName,
ReadOnlySpan< char > value )
inlinestatic

Definition at line 135 of file JsonWriterHelper.cs.

136 {
137 if (propertyName.Length > 166666666 || value.Length > 166666666)
138 {
139 ThrowHelper.ThrowArgumentException(propertyName, value);
140 }
141 }

References System.Text.Json.Dictionary, System.Text.Json.ThrowHelper.ThrowArgumentException(), and System.value.