System\Text\Json\ThrowHelper.Serialization.cs (16)
658ThrowJsonException(SR.Format(SR.MetadataInvalidTokenAfterValues, tokenType));
664ThrowJsonException(SR.Format(SR.MetadataReferenceNotFound, id));
670ThrowJsonException(SR.Format(SR.MetadataValueWasNotString, tokenType));
676ThrowJsonException(SR.Format(SR.MetadataValueWasNotString, valueKind));
690ThrowJsonException(SR.Format(SR.MetadataUnexpectedProperty));
702ThrowJsonException(SR.MetadataReferenceCannotContainOtherProperties);
709ThrowJsonException(SR.MetadataIdCannotBeCombinedWithRef);
716ThrowJsonException(SR.MetadataStandaloneValuesProperty);
732ThrowJsonException(SR.MetadataInvalidPropertyWithLeadingDollarSign);
738ThrowJsonException(SR.Format(SR.MetadataDuplicateIdFound, id));
744ThrowJsonException(SR.Format(SR.DuplicateMetadataProperty, JsonHelpers.Utf8GetString(utf8PropertyName)));
750ThrowJsonException(SR.Format(SR.MetadataInvalidReferenceToValueType, propertyType));
759ThrowJsonException(SR.Format(SR.MetadataPreservedArrayFailed,
770ThrowJsonException(SR.Format(SR.MetadataPreservedArrayFailed,
778ThrowJsonException(SR.Format(SR.MetadataCannotParsePreservedObjectToImmutable, propertyType));
927ThrowJsonException(SR.Format(SR.Polymorphism_UnrecognizedTypeDiscriminator, typeDiscriminator));