<PackageReference Include="NETStandard.Library" Version="2.0.2" />

System.Xml.Serialization.XmlSerializationReader

namespace System.Xml.Serialization { public abstract class XmlSerializationReader : XmlSerializationGeneratedCode { protected class CollectionFixup { public XmlSerializationCollectionFixupCallback Callback { get; } public object Collection { get; } public object CollectionItems { get; } public CollectionFixup(object collection, XmlSerializationCollectionFixupCallback callback, object collectionItems); } protected class Fixup { public XmlSerializationFixupCallback Callback { get; } public string[] Ids { get; } public object Source { get; set; } public Fixup(object o, XmlSerializationFixupCallback callback, int count); public Fixup(object o, XmlSerializationFixupCallback callback, string[] ids); } protected bool DecodeName { get; set; } protected XmlDocument Document { get; } protected bool IsReturnValue { get; set; } protected XmlReader Reader { get; } protected int ReaderCount { get; } protected XmlSerializationReader(); protected void AddFixup(CollectionFixup fixup); protected void AddFixup(Fixup fixup); protected void AddReadCallback(string name, string ns, Type type, XmlSerializationReadCallback read); protected void AddTarget(string id, object o); protected void CheckReaderCount(ref int whileIterations, ref int readerCount); protected string CollapseWhitespace(string value); protected Exception CreateAbstractTypeException(string name, string ns); protected Exception CreateBadDerivationException(string xsdDerived, string nsDerived, string xsdBase, string nsBase, string clrDerived, string clrBase); protected Exception CreateCtorHasSecurityException(string typeName); protected Exception CreateInaccessibleConstructorException(string typeName); protected Exception CreateInvalidCastException(Type type, object value); protected Exception CreateInvalidCastException(Type type, object value, string id); protected Exception CreateMissingIXmlSerializableType(string name, string ns, string clrType); protected Exception CreateReadOnlyCollectionException(string name); protected Exception CreateUnknownConstantException(string value, Type enumType); protected Exception CreateUnknownNodeException(); protected Exception CreateUnknownTypeException(XmlQualifiedName type); protected Array EnsureArrayIndex(Array a, int index, Type elementType); protected void FixupArrayRefs(object fixup); protected int GetArrayLength(string name, string ns); protected bool GetNullAttr(); protected object GetTarget(string id); protected XmlQualifiedName GetXsiType(); protected abstract void InitCallbacks(); protected abstract void InitIDs(); protected bool IsXmlnsAttribute(string name); protected void ParseWsdlArrayType(XmlAttribute attr); protected XmlQualifiedName ReadElementQualifiedName(); protected void ReadEndElement(); protected bool ReadNull(); protected XmlQualifiedName ReadNullableQualifiedName(); protected string ReadNullableString(); protected bool ReadReference(out string fixupReference); protected object ReadReferencedElement(); protected object ReadReferencedElement(string name, string ns); protected void ReadReferencedElements(); protected object ReadReferencingElement(string name, string ns, bool elementCanBeType, out string fixupReference); protected object ReadReferencingElement(string name, string ns, out string fixupReference); protected object ReadReferencingElement(out string fixupReference); protected IXmlSerializable ReadSerializable(IXmlSerializable serializable); protected IXmlSerializable ReadSerializable(IXmlSerializable serializable, bool wrappedAny); protected string ReadString(string value); protected string ReadString(string value, bool trim); protected object ReadTypedNull(XmlQualifiedName type); protected object ReadTypedPrimitive(XmlQualifiedName type); protected XmlDocument ReadXmlDocument(bool wrapped); protected XmlNode ReadXmlNode(bool wrapped); protected void Referenced(object o); protected static Assembly ResolveDynamicAssembly(string assemblyFullName); protected Array ShrinkArray(Array a, int length, Type elementType, bool isNullable); protected byte[] ToByteArrayBase64(bool isNull); protected static byte[] ToByteArrayBase64(string value); protected byte[] ToByteArrayHex(bool isNull); protected static byte[] ToByteArrayHex(string value); protected static char ToChar(string value); protected static DateTime ToDate(string value); protected static DateTime ToDateTime(string value); protected static long ToEnum(string value, Hashtable h, string typeName); protected static DateTime ToTime(string value); protected static string ToXmlName(string value); protected static string ToXmlNCName(string value); protected static string ToXmlNmToken(string value); protected static string ToXmlNmTokens(string value); protected XmlQualifiedName ToXmlQualifiedName(string value); protected void UnknownAttribute(object o, XmlAttribute attr); protected void UnknownAttribute(object o, XmlAttribute attr, string qnames); protected void UnknownElement(object o, XmlElement elem); protected void UnknownElement(object o, XmlElement elem, string qnames); protected void UnknownNode(object o); protected void UnknownNode(object o, string qnames); protected void UnreferencedObject(string id, object o); } }