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