2 writes to EffectiveMaxDepth
System.Text.Json (2)
System\Text\Json\Serialization\JsonSerializerOptions.cs (2)
153
EffectiveMaxDepth
= options.EffectiveMaxDepth;
575
EffectiveMaxDepth
= (value == 0 ? DefaultMaxDepth : value);
8 references to EffectiveMaxDepth
System.Text.Json (8)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
409
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)
153
EffectiveMaxDepth = options.
EffectiveMaxDepth
;
1043
MaxDepth =
EffectiveMaxDepth
1055
MaxDepth =
EffectiveMaxDepth
,