1 write to MatchingProperty
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonParameterInfo.cs (1)
23MatchingProperty = matchingProperty;
15 references to MatchingProperty
System.Text.Json (15)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
330Debug.Assert(jsonParameterInfo.MatchingProperty != null);
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.Large.cs (1)
33state.Current.MarkRequiredPropertyAsRead(jsonParameterInfo.MatchingProperty);
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.Small.cs (1)
84state.Current.MarkRequiredPropertyAsRead(jsonParameterInfo.MatchingProperty);
System\Text\Json\Serialization\Metadata\JsonParameterInfo.cs (12)
30public Type DeclaringType => MatchingProperty.DeclaringType; 40public Type ParameterType => MatchingProperty.PropertyType; 75public bool IsNullable => MatchingProperty.IsSetNullable; 98Debug.Assert(MatchingProperty.DeclaringTypeInfo != null, "Declaring type metadata must have already been configured."); 100if (parameterInfo is null && MatchingProperty.DeclaringTypeInfo.ConstructorAttributeProvider is MethodBase ctorInfo) 117internal JsonConverter EffectiveConverter => MatchingProperty.EffectiveConverter; 118internal bool IgnoreNullTokensOnRead => MatchingProperty.IgnoreNullTokensOnRead; 119internal JsonSerializerOptions Options => MatchingProperty.Options; 122internal byte[] JsonNameAsUtf8Bytes => MatchingProperty.NameAsUtf8Bytes; 123internal JsonNumberHandling? NumberHandling => MatchingProperty.EffectiveNumberHandling; 124internal JsonTypeInfo JsonTypeInfo => MatchingProperty.JsonTypeInfo; 125internal bool ShouldDeserialize => !MatchingProperty.IsIgnored;