2 writes to EffectiveMaxDepth
System.Text.Json (2)
System\Text\Json\Serialization\JsonSerializerOptions.cs (2)
160EffectiveMaxDepth = options.EffectiveMaxDepth; 589EffectiveMaxDepth = (value == 0 ? DefaultMaxDepth : value);
8 references to EffectiveMaxDepth
System.Text.Json (8)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
422if (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)
160EffectiveMaxDepth = options.EffectiveMaxDepth; 1083MaxDepth = EffectiveMaxDepth 1095MaxDepth = EffectiveMaxDepth,