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

◆ ValidatePropertyAndValue() [4/4]

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

Definition at line 153 of file JsonWriterHelper.cs.

154 {
155 if (propertyName.Length > 166666666 || value.Length > 166666666)
156 {
157 ThrowHelper.ThrowArgumentException(propertyName, value);
158 }
159 }

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