4 references to Options
System.Text.Json (4)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.Large.cs (2)
21
bool success = jsonParameterInfo.EffectiveConverter.TryReadAsObject(ref reader, jsonParameterInfo.ParameterType, jsonParameterInfo.
Options
, ref state, out object? arg);
25
if (arg == null && !jsonParameterInfo.IsNullable && jsonParameterInfo.
Options
.RespectNullableAnnotations)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.Small.cs (2)
67
bool success = info.EffectiveConverter.TryRead(ref reader, info.ParameterType, info.
Options
, ref state, out TArg? value, out _);
78
else if (!info.IsNullable && info.
Options
.RespectNullableAnnotations)