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