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;
8 references to AssociatedParameter
System.Text.Json (8)
System\Text\Json\Schema\JsonSchemaExporter.cs (2)
235if (property.AssociatedParameter is { HasDefaultValue: true } parameterInfo) 247if (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;
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
1189JsonParameterInfo? parameterInfo = propertyInfo.AssociatedParameter; 1210if (ExtensionDataProperty is { AssociatedParameter: not null })