2 writes to EffectiveMaxDepth
System.Text.Json (2)
System\Text\Json\Serialization\JsonSerializerOptions.cs (2)
156EffectiveMaxDepth = options.EffectiveMaxDepth; 578EffectiveMaxDepth = (value == 0 ? DefaultMaxDepth : value);
8 references to EffectiveMaxDepth
System.Text.Json (8)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
419if (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)
156EffectiveMaxDepth = options.EffectiveMaxDepth; 1046MaxDepth = EffectiveMaxDepth 1058MaxDepth = EffectiveMaxDepth,