3 references to IsProperty
System.Text.Json (3)
System\Text\Json\Serialization\Metadata\JsonMetadataServices.cs (2)
46
if (!propertyInfo.
IsProperty
&& propertyInfo.IsVirtual)
48
throw new InvalidOperationException(SR.Format(SR.FieldCannotBeVirtual, nameof(propertyInfo.
IsProperty
), nameof(propertyInfo.IsVirtual)));
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (1)
184
propertyInfo.MemberType = propertyInfoValues.
IsProperty
? MemberTypes.Property : MemberTypes.Field;