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