5 writes to MaxDepth
Aspire.Dashboard (1)
Components\Dialogs\TextVisualizerDialog.razor.cs (1)
187
MaxDepth
= 1000
System.Text.Json (4)
System\Text\Json\Document\JsonDocumentOptions.cs (1)
78
MaxDepth
= MaxDepth
System\Text\Json\Reader\Utf8JsonReader.cs (1)
231
_readerOptions.
MaxDepth
= JsonReaderOptions.DefaultMaxDepth; // If max depth is not set, revert to the default depth.
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (1)
42
_readerOptions.
MaxDepth
= JsonReaderOptions.DefaultMaxDepth; // If max depth is not set, revert to the default depth.
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
1046
MaxDepth
= EffectiveMaxDepth
11 references to MaxDepth
System.Text.Json (11)
System\Text\Json\Reader\Utf8JsonReader.cs (3)
229
if (_readerOptions.
MaxDepth
== 0)
741
if (_bitStack.CurrentDepth >= _readerOptions.
MaxDepth
)
775
if (_bitStack.CurrentDepth >= _readerOptions.
MaxDepth
)
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (1)
40
if (_readerOptions.
MaxDepth
== 0)
System\Text\Json\Serialization\JsonSerializer.Read.Utf8JsonReader.cs (5)
54
/// Hence, <see cref="JsonReaderOptions.AllowTrailingCommas"/>, <see cref="JsonReaderOptions.
MaxDepth
"/>, and <see cref="JsonReaderOptions.CommentHandling"/> are used while reading.
107
/// Hence, <see cref="JsonReaderOptions.AllowTrailingCommas"/>, <see cref="JsonReaderOptions.
MaxDepth
"/>, and <see cref="JsonReaderOptions.CommentHandling"/> are used while reading.
159
/// Hence, <see cref="JsonReaderOptions.AllowTrailingCommas"/>, <see cref="JsonReaderOptions.
MaxDepth
"/>, and <see cref="JsonReaderOptions.CommentHandling"/> are used while reading.
208
/// Hence, <see cref="JsonReaderOptions.AllowTrailingCommas"/>, <see cref="JsonReaderOptions.
MaxDepth
"/>, and <see cref="JsonReaderOptions.CommentHandling"/> are used while reading.
268
/// Hence, <see cref="JsonReaderOptions.AllowTrailingCommas"/>, <see cref="JsonReaderOptions.
MaxDepth
"/>, and <see cref="JsonReaderOptions.CommentHandling"/> are used while reading.
System\Text\Json\ThrowHelper.cs (2)
384
message = SR.Format(SR.ArrayDepthTooLarge, json.CurrentState.Options.
MaxDepth
);
441
message = SR.Format(SR.ObjectDepthTooLarge, json.CurrentState.Options.
MaxDepth
);