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