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

◆ ValidateProperty() [2/2]

static void System.Text.Json.JsonWriterHelper.ValidateProperty ( ReadOnlySpan< char > propertyName)
inlinestatic

Definition at line 108 of file JsonWriterHelper.cs.

109 {
110 if (propertyName.Length > 166666666)
111 {
112 ThrowHelper.ThrowArgumentException_PropertyNameTooLarge(propertyName.Length);
113 }
114 }

References System.Text.Json.Dictionary, and System.Text.Json.ThrowHelper.ThrowArgumentException_PropertyNameTooLarge().