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