<PackageReference Include="NETStandard.Library" Version="2.0.0-preview2-25401-01" />

System.Xml.Serialization.XmlSerializationWriter

namespace System.Xml.Serialization { public abstract class XmlSerializationWriter : XmlSerializationGeneratedCode { protected bool EscapeName { get; set; } protected ArrayList Namespaces { get; set; } protected XmlWriter Writer { get; set; } protected XmlSerializationWriter(); protected void AddWriteCallback(Type type, string typeName, string typeNs, XmlSerializationWriteCallback callback); protected Exception CreateChoiceIdentifierValueException(string value, string identifier, string name, string ns); protected Exception CreateInvalidAnyTypeException(object o); protected Exception CreateInvalidAnyTypeException(Type type); protected Exception CreateInvalidChoiceIdentifierValueException(string type, string identifier); protected Exception CreateInvalidEnumValueException(object value, string typeName); protected Exception CreateMismatchChoiceException(string value, string elementName, string enumValue); protected Exception CreateUnknownAnyElementException(string name, string ns); protected Exception CreateUnknownTypeException(object o); protected Exception CreateUnknownTypeException(Type type); protected static byte[] FromByteArrayBase64(byte[] value); protected static string FromByteArrayHex(byte[] value); protected static string FromChar(char value); protected static string FromDate(DateTime value); protected static string FromDateTime(DateTime value); protected static string FromEnum(long value, string[] values, long[] ids); protected static string FromEnum(long value, string[] values, long[] ids, string typeName); protected static string FromTime(DateTime value); protected static string FromXmlName(string name); protected static string FromXmlNCName(string ncName); protected static string FromXmlNmToken(string nmToken); protected static string FromXmlNmTokens(string nmTokens); protected string FromXmlQualifiedName(XmlQualifiedName xmlQualifiedName); protected string FromXmlQualifiedName(XmlQualifiedName xmlQualifiedName, bool ignoreEmpty); protected abstract void InitCallbacks(); protected static Assembly ResolveDynamicAssembly(string assemblyFullName); protected void TopLevelElement(); protected void WriteAttribute(string localName, byte[] value); protected void WriteAttribute(string localName, string value); protected void WriteAttribute(string localName, string ns, byte[] value); protected void WriteAttribute(string localName, string ns, string value); protected void WriteAttribute(string prefix, string localName, string ns, string value); protected void WriteElementEncoded(XmlNode node, string name, string ns, bool isNullable, bool any); protected void WriteElementLiteral(XmlNode node, string name, string ns, bool isNullable, bool any); protected void WriteElementQualifiedName(string localName, string ns, XmlQualifiedName value); protected void WriteElementQualifiedName(string localName, string ns, XmlQualifiedName value, XmlQualifiedName xsiType); protected void WriteElementQualifiedName(string localName, XmlQualifiedName value); protected void WriteElementQualifiedName(string localName, XmlQualifiedName value, XmlQualifiedName xsiType); protected void WriteElementString(string localName, string value); protected void WriteElementString(string localName, string ns, string value); protected void WriteElementString(string localName, string ns, string value, XmlQualifiedName xsiType); protected void WriteElementString(string localName, string value, XmlQualifiedName xsiType); protected void WriteElementStringRaw(string localName, byte[] value); protected void WriteElementStringRaw(string localName, byte[] value, XmlQualifiedName xsiType); protected void WriteElementStringRaw(string localName, string value); protected void WriteElementStringRaw(string localName, string ns, byte[] value); protected void WriteElementStringRaw(string localName, string ns, byte[] value, XmlQualifiedName xsiType); protected void WriteElementStringRaw(string localName, string ns, string value); protected void WriteElementStringRaw(string localName, string ns, string value, XmlQualifiedName xsiType); protected void WriteElementStringRaw(string localName, string value, XmlQualifiedName xsiType); protected void WriteEmptyTag(string name); protected void WriteEmptyTag(string name, string ns); protected void WriteEndElement(); protected void WriteEndElement(object o); protected void WriteId(object o); protected void WriteNamespaceDeclarations(XmlSerializerNamespaces xmlns); protected void WriteNullableQualifiedNameEncoded(string name, string ns, XmlQualifiedName value, XmlQualifiedName xsiType); protected void WriteNullableQualifiedNameLiteral(string name, string ns, XmlQualifiedName value); protected void WriteNullableStringEncoded(string name, string ns, string value, XmlQualifiedName xsiType); protected void WriteNullableStringEncodedRaw(string name, string ns, byte[] value, XmlQualifiedName xsiType); protected void WriteNullableStringEncodedRaw(string name, string ns, string value, XmlQualifiedName xsiType); protected void WriteNullableStringLiteral(string name, string ns, string value); protected void WriteNullableStringLiteralRaw(string name, string ns, byte[] value); protected void WriteNullableStringLiteralRaw(string name, string ns, string value); protected void WriteNullTagEncoded(string name); protected void WriteNullTagEncoded(string name, string ns); protected void WriteNullTagLiteral(string name); protected void WriteNullTagLiteral(string name, string ns); protected void WritePotentiallyReferencingElement(string n, string ns, object o); protected void WritePotentiallyReferencingElement(string n, string ns, object o, Type ambientType); protected void WritePotentiallyReferencingElement(string n, string ns, object o, Type ambientType, bool suppressReference); protected void WritePotentiallyReferencingElement(string n, string ns, object o, Type ambientType, bool suppressReference, bool isNullable); protected void WriteReferencedElements(); protected void WriteReferencingElement(string n, string ns, object o); protected void WriteReferencingElement(string n, string ns, object o, bool isNullable); protected void WriteRpcResult(string name, string ns); protected void WriteSerializable(IXmlSerializable serializable, string name, string ns, bool isNullable); protected void WriteSerializable(IXmlSerializable serializable, string name, string ns, bool isNullable, bool wrapped); protected void WriteStartDocument(); protected void WriteStartElement(string name); protected void WriteStartElement(string name, string ns); protected void WriteStartElement(string name, string ns, bool writePrefixed); protected void WriteStartElement(string name, string ns, object o); protected void WriteStartElement(string name, string ns, object o, bool writePrefixed); protected void WriteStartElement(string name, string ns, object o, bool writePrefixed, XmlSerializerNamespaces xmlns); protected void WriteTypedPrimitive(string name, string ns, object o, bool xsiType); protected void WriteValue(byte[] value); protected void WriteValue(string value); protected void WriteXmlAttribute(XmlNode node); protected void WriteXmlAttribute(XmlNode node, object container); protected void WriteXsiType(string name, string ns); } }