System\Text\Json\ThrowHelper.Serialization.cs (24)
722ThrowJsonException(SR.Format(SR.MetadataInvalidTokenAfterValues, tokenType));
728ThrowJsonException(SR.Format(SR.MetadataReferenceNotFound, id));
734ThrowJsonException(SR.Format(SR.MetadataValueWasNotString, tokenType));
740ThrowJsonException(SR.Format(SR.MetadataValueWasNotString, valueKind));
754ThrowJsonException(SR.MetadataUnexpectedProperty);
766ThrowJsonException(SR.MetadataReferenceCannotContainOtherProperties);
773ThrowJsonException(SR.MetadataIdCannotBeCombinedWithRef);
780ThrowJsonException(SR.MetadataStandaloneValuesProperty);
796ThrowJsonException(SR.MetadataInvalidPropertyWithLeadingDollarSign);
802ThrowJsonException(SR.Format(SR.MetadataDuplicateIdFound, id));
808ThrowJsonException(SR.Format(SR.DuplicateMetadataProperty, Encoding.UTF8.GetString(utf8PropertyName)));
814ThrowJsonException(SR.Format(SR.MetadataInvalidReferenceToValueType, propertyType));
823ThrowJsonException(SR.Format(SR.MetadataPreservedArrayFailed,
834ThrowJsonException(SR.Format(SR.MetadataPreservedArrayFailed,
842ThrowJsonException(SR.Format(SR.MetadataCannotParsePreservedObjectToImmutable, propertyType));
985ThrowJsonException(SR.Format(SR.UnionDoesNotAcceptNull, unionType));
991ThrowJsonException(SR.Format(SR.UnionRuntimeTypeNotMatchedToCase, runtimeType, unionType));
997ThrowJsonException(SR.Format(SR.UnionCannotCreateValue, unionType));
1003ThrowJsonException(SR.Format(SR.UnionCannotReadValue, unionType));
1009ThrowJsonException(SR.Format(SR.UnionTypeClassifierReturnedNull, unionType, tokenType));
1015ThrowJsonException(SR.Format(SR.UnionAmbiguousJsonValueType, valueType, unionType));
1021ThrowJsonException(SR.Format(SR.UnionCaseWithCustomConverterRequiresClassifier, unionType));
1027ThrowJsonException(SR.Format(SR.UnionJsonTokenTypeNotSupported, tokenType, unionType));
1069ThrowJsonException(SR.Format(SR.Polymorphism_UnrecognizedTypeDiscriminator, typeDiscriminator));