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

◆ ValidatePropertyAndValue() [1/4]

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

Definition at line 144 of file JsonWriterHelper.cs.

145 {
146 if (propertyName.Length > 166666666 || value.Length > 166666666)
147 {
148 ThrowHelper.ThrowArgumentException(propertyName, value);
149 }
150 }

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