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