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

◆ WriteCommentValue() [2/3]

void System.Text.Json.Utf8JsonWriter.WriteCommentValue ( ReadOnlySpan< char > value)
inline

Definition at line 4243 of file Utf8JsonWriter.cs.

4244 {
4245 JsonWriterHelper.ValidateValue(value);
4246 if (value.IndexOf(s_singleLineCommentDelimiter) != -1)
4247 {
4248 ThrowHelper.ThrowArgumentException_InvalidCommentValue();
4249 }
4251 }
void WriteCommentByOptions(ReadOnlySpan< char > value)
static readonly char[] s_singleLineCommentDelimiter

References System.Text.Json.Utf8JsonWriter.s_singleLineCommentDelimiter, System.Text.Json.ThrowHelper.ThrowArgumentException_InvalidCommentValue(), System.Text.Json.JsonWriterHelper.ValidateValue(), System.value, and System.Text.Json.Utf8JsonWriter.WriteCommentByOptions().