Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
JsonReaderOptions.cs
Go to the documentation of this file.
1namespace System.Text.Json;
2
3public struct JsonReaderOptions
4{
5 private int _maxDepth;
6
8
10 {
11 readonly get
12 {
13 return _commentHandling;
14 }
15 set
16 {
17 if ((int)value > 2)
18 {
20 }
22 }
23 }
24
25 public int MaxDepth
26 {
27 readonly get
28 {
29 return _maxDepth;
30 }
31 set
32 {
33 if (value < 0)
34 {
36 }
38 }
39 }
40
41 public bool AllowTrailingCommas { get; set; }
42}
static ArgumentOutOfRangeException GetArgumentOutOfRangeException_CommentEnumMustBeInRange(string parameterName)
static ArgumentOutOfRangeException GetArgumentOutOfRangeException_MaxDepthMustBePositive(string parameterName)