2 writes to AssociatedParameter
System.Text.Json (2)
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (1)
120
AssociatedParameter
= new JsonParameterInfo<T>(parameterInfoValues, this);
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.cs (1)
113
propertyInfo.
AssociatedParameter
= null;
6 references to AssociatedParameter
System.Text.Json (6)
System\Text\Json\Schema\JsonSchemaExporter.cs (2)
245
if (property.
AssociatedParameter
is { HasDefaultValue: true } parameterInfo)
257
if (property is { IsRequired: true } or {
AssociatedParameter
.IsRequiredParameter: true })
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
618
jsonParameterInfo = jsonPropertyInfo.
AssociatedParameter
;
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
452
!(
AssociatedParameter
?.IsRequiredParameter is true &&
System\Text\Json\Serialization\Metadata\JsonPropertyInfoOfT.cs (2)
118
Debug.Assert(
AssociatedParameter
is null);
127
_isRequired |=
AssociatedParameter
.IsRequiredParameter;