2 writes to EffectiveMaxDepth
System.Text.Json (2)
System\Text\Json\Serialization\JsonSerializerOptions.cs (2)
156
EffectiveMaxDepth
= options.EffectiveMaxDepth;
578
EffectiveMaxDepth
= (value == 0 ? DefaultMaxDepth : value);
8 references to EffectiveMaxDepth
System.Text.Json (8)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
419
if (CurrentDepth == Options.
EffectiveMaxDepth
)
System\Text\Json\Serialization\JsonConverterOfT.cs (4)
329
if (writer.CurrentDepth >= options.
EffectiveMaxDepth
)
331
ThrowHelper.ThrowJsonException_SerializerCycleDetected(options.
EffectiveMaxDepth
);
465
if (writer.CurrentDepth >= options.
EffectiveMaxDepth
)
467
ThrowHelper.ThrowJsonException_SerializerCycleDetected(options.
EffectiveMaxDepth
);
System\Text\Json\Serialization\JsonSerializerOptions.cs (3)
156
EffectiveMaxDepth = options.
EffectiveMaxDepth
;
1046
MaxDepth =
EffectiveMaxDepth
1058
MaxDepth =
EffectiveMaxDepth
,