2 references to IsVirtual
System.Text.Json (2)
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)));