Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
JsonDocumentOptions.cs
Go to the documentation of this file.
1namespace System.Text.Json;
2
3public struct JsonDocumentOptions
4{
5 private int _maxDepth;
6
8
10 {
11 readonly get
12 {
13 return _commentHandling;
14 }
15 set
16 {
17 if ((int)value > 1)
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
51}
static string JsonDocumentDoesNotSupportComments
Definition SR.cs:88
Definition SR.cs:7
static ArgumentOutOfRangeException GetArgumentOutOfRangeException_MaxDepthMustBePositive(string parameterName)