This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,279 @@
using System;
using System.Collections;
using System.IO;
using System.Reflection;
using System.Text;
using Cpp2IlInjected;
namespace System.Xml.Serialization
{
/// <summary>Serializes and deserializes objects into and from XML documents. The <see cref="T:System.Xml.Serialization.XmlSerializer" /> enables you to control how objects are encoded into XML.</summary>
// Token: 0x02000147 RID: 327
[Token(Token = "0x2000147")]
public class XmlSerializer
{
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.Serialization.XmlSerializer" /> class that can serialize objects of type <see cref="T:System.Object" /> into XML document instances, and deserialize XML document instances into objects of type <see cref="T:System.Object" />. Each object to be serialized can itself contain instances of classes, which this overload overrides with other classes. This overload also specifies the default namespace for all the XML elements and the class to use as the XML root element.</summary>
/// <param name="type">The type of the object that this <see cref="T:System.Xml.Serialization.XmlSerializer" /> can serialize. </param>
/// <param name="overrides">An <see cref="T:System.Xml.Serialization.XmlAttributeOverrides" /> that extends or overrides the behavior of the class specified in the <paramref name="type" /> parameter. </param>
/// <param name="extraTypes">A <see cref="T:System.Type" /> array of additional object types to serialize. </param>
/// <param name="root">An <see cref="T:System.Xml.Serialization.XmlRootAttribute" /> that defines the XML root element properties. </param>
/// <param name="defaultNamespace">The default namespace of all XML elements in the XML document. </param>
// Token: 0x06000E32 RID: 3634 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E32")]
[Address(RVA = "0x68FE10", Offset = "0x68EE10", VA = "0x18068FE10")]
public XmlSerializer(Type type, XmlAttributeOverrides overrides, Type[] extraTypes, XmlRootAttribute root, string defaultNamespace)
{
}
// Token: 0x170003AD RID: 941
// (get) Token: 0x06000E33 RID: 3635 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170003AD")]
internal XmlMapping Mapping
{
[Token(Token = "0x6000E33")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
get
{
return null;
}
}
// Token: 0x06000E34 RID: 3636 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E34")]
[Address(RVA = "0x68F780", Offset = "0x68E780", VA = "0x18068F780", Slot = "4")]
internal virtual void OnUnknownAttribute(XmlAttributeEventArgs e)
{
}
// Token: 0x06000E35 RID: 3637 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E35")]
[Address(RVA = "0x68F7A0", Offset = "0x68E7A0", VA = "0x18068F7A0", Slot = "5")]
internal virtual void OnUnknownElement(XmlElementEventArgs e)
{
}
// Token: 0x06000E36 RID: 3638 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E36")]
[Address(RVA = "0x68F7C0", Offset = "0x68E7C0", VA = "0x18068F7C0", Slot = "6")]
internal virtual void OnUnknownNode(XmlNodeEventArgs e)
{
}
// Token: 0x06000E37 RID: 3639 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E37")]
[Address(RVA = "0x68F7E0", Offset = "0x68E7E0", VA = "0x18068F7E0", Slot = "7")]
internal virtual void OnUnreferencedObject(UnreferencedObjectEventArgs e)
{
}
/// <summary>Returns an object used to read the XML document to be serialized.</summary>
/// <returns>An <see cref="T:System.Xml.Serialization.XmlSerializationReader" /> used to read the XML document.</returns>
/// <exception cref="T:System.NotImplementedException">Any attempt is made to access the method when the method is not overridden in a descendant class. </exception>
// Token: 0x06000E38 RID: 3640 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E38")]
[Address(RVA = "0x68EFC0", Offset = "0x68DFC0", VA = "0x18068EFC0", Slot = "8")]
protected virtual XmlSerializationReader CreateReader()
{
return null;
}
/// <summary>When overridden in a derived class, returns a writer used to serialize the object.</summary>
/// <returns>An instance that implements the <see cref="T:System.Xml.Serialization.XmlSerializationWriter" /> class.</returns>
/// <exception cref="T:System.NotImplementedException">Any attempt is made to access the method when the method is not overridden in a descendant class. </exception>
// Token: 0x06000E39 RID: 3641 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E39")]
[Address(RVA = "0x68F070", Offset = "0x68E070", VA = "0x18068F070", Slot = "9")]
protected virtual XmlSerializationWriter CreateWriter()
{
return null;
}
/// <summary>Deserializes the XML document contained by the specified <see cref="T:System.IO.TextReader" />.</summary>
/// <param name="textReader">The <see cref="T:System.IO.TextReader" /> that contains the XML document to deserialize. </param>
/// <returns>The <see cref="T:System.Object" /> being deserialized.</returns>
/// <exception cref="T:System.InvalidOperationException">An error occurred during deserialization. The original exception is available using the <see cref="P:System.Exception.InnerException" /> property. </exception>
// Token: 0x06000E3A RID: 3642 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E3A")]
[Address(RVA = "0x68F660", Offset = "0x68E660", VA = "0x18068F660")]
public object Deserialize(TextReader textReader)
{
return null;
}
/// <summary>Deserializes the XML document contained by the specified <see cref="T:System.Xml.XmlReader" />.</summary>
/// <param name="xmlReader">The <see cref="T:System.Xml.XmlReader" /> that contains the XML document to deserialize. </param>
/// <returns>The <see cref="T:System.Object" /> being deserialized.</returns>
/// <exception cref="T:System.InvalidOperationException">An error occurred during deserialization. The original exception is available using the <see cref="P:System.Exception.InnerException" /> property. </exception>
// Token: 0x06000E3B RID: 3643 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E3B")]
[Address(RVA = "0x68F370", Offset = "0x68E370", VA = "0x18068F370")]
public object Deserialize(XmlReader xmlReader)
{
return null;
}
/// <summary>Deserializes the XML document contained by the specified <see cref="T:System.Xml.Serialization.XmlSerializationReader" />.</summary>
/// <param name="reader">The <see cref="T:System.Xml.Serialization.XmlSerializationReader" /> that contains the XML document to deserialize. </param>
/// <returns>The deserialized object.</returns>
/// <exception cref="T:System.NotImplementedException">Any attempt is made to access the method when the method is not overridden in a descendant class. </exception>
// Token: 0x06000E3C RID: 3644 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E3C")]
[Address(RVA = "0x68F430", Offset = "0x68E430", VA = "0x18068F430", Slot = "10")]
protected virtual object Deserialize(XmlSerializationReader reader)
{
return null;
}
/// <summary>Serializes the specified <see cref="T:System.Object" /> and writes the XML document to a file using the specified <see cref="T:System.Xml.Serialization.XmlSerializationWriter" />.</summary>
/// <param name="o">The <see cref="T:System.Object" /> to serialize. </param>
/// <param name="writer">The <see cref="T:System.Xml.Serialization.XmlSerializationWriter" /> used to write the XML document. </param>
/// <exception cref="T:System.NotImplementedException">Any attempt is made to access the method when the method is not overridden in a descendant class. </exception>
// Token: 0x06000E3D RID: 3645 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E3D")]
[Address(RVA = "0x68FA50", Offset = "0x68EA50", VA = "0x18068FA50", Slot = "11")]
protected virtual void Serialize(object o, XmlSerializationWriter writer)
{
}
/// <summary>Serializes the specified <see cref="T:System.Object" /> and writes the XML document to a file using the specified <see cref="T:System.IO.TextWriter" />.</summary>
/// <param name="textWriter">The <see cref="T:System.IO.TextWriter" /> used to write the XML document. </param>
/// <param name="o">The <see cref="T:System.Object" /> to serialize. </param>
// Token: 0x06000E3E RID: 3646 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E3E")]
[Address(RVA = "0x68FC90", Offset = "0x68EC90", VA = "0x18068FC90")]
public void Serialize(TextWriter textWriter, object o)
{
}
/// <summary>Serializes the specified <see cref="T:System.Object" /> and writes the XML document to a file using the specified <see cref="T:System.Xml.XmlWriter" />.</summary>
/// <param name="xmlWriter">The <see cref="T:System.Xml.XmlWriter" /> used to write the XML document. </param>
/// <param name="o">The <see cref="T:System.Object" /> to serialize. </param>
/// <exception cref="T:System.InvalidOperationException">An error occurred during serialization. The original exception is available using the <see cref="P:System.Exception.InnerException" /> property. </exception>
// Token: 0x06000E3F RID: 3647 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E3F")]
[Address(RVA = "0x68FC70", Offset = "0x68EC70", VA = "0x18068FC70")]
public void Serialize(XmlWriter xmlWriter, object o)
{
}
/// <summary>Serializes the specified <see cref="T:System.Object" /> and writes the XML document to a file using the specified <see cref="T:System.Xml.XmlWriter" /> and references the specified namespaces.</summary>
/// <param name="xmlWriter">The <see cref="T:System.Xml.XmlWriter" /> used to write the XML document. </param>
/// <param name="o">The <see cref="T:System.Object" /> to serialize. </param>
/// <param name="namespaces">The <see cref="T:System.Xml.Serialization.XmlSerializerNamespaces" /> referenced by the object. </param>
/// <exception cref="T:System.InvalidOperationException">An error occurred during serialization. The original exception is available using the <see cref="P:System.Exception.InnerException" /> property. </exception>
// Token: 0x06000E40 RID: 3648 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000E40")]
[Address(RVA = "0x68F800", Offset = "0x68E800", VA = "0x18068F800")]
public void Serialize(XmlWriter xmlWriter, object o, XmlSerializerNamespaces namespaces)
{
}
// Token: 0x06000E41 RID: 3649 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E41")]
[Address(RVA = "0x68F0C0", Offset = "0x68E0C0", VA = "0x18068F0C0")]
private XmlSerializationWriter CreateWriter(XmlMapping typeMapping)
{
return null;
}
// Token: 0x06000E42 RID: 3650 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E42")]
[Address(RVA = "0x68F010", Offset = "0x68E010", VA = "0x18068F010")]
private XmlSerializationReader CreateReader(XmlMapping typeMapping)
{
return null;
}
// Token: 0x04000749 RID: 1865
[Token(Token = "0x4000749")]
private static int generationThreshold;
// Token: 0x0400074A RID: 1866
[Token(Token = "0x400074A")]
private static bool backgroundGeneration;
// Token: 0x0400074B RID: 1867
[Token(Token = "0x400074B")]
private static bool deleteTempFiles;
// Token: 0x0400074C RID: 1868
[Token(Token = "0x400074C")]
private static bool generatorFallback;
// Token: 0x0400074D RID: 1869
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400074D")]
private bool customSerializer;
// Token: 0x0400074E RID: 1870
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400074E")]
private XmlMapping typeMapping;
// Token: 0x0400074F RID: 1871
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400074F")]
private XmlSerializer.SerializerData serializerData;
// Token: 0x04000750 RID: 1872
[Token(Token = "0x4000750")]
private static Hashtable serializerTypes;
// Token: 0x04000751 RID: 1873
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000751")]
private UnreferencedObjectEventHandler onUnreferencedObject;
// Token: 0x04000752 RID: 1874
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000752")]
private XmlAttributeEventHandler onUnknownAttribute;
// Token: 0x04000753 RID: 1875
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000753")]
private XmlElementEventHandler onUnknownElement;
// Token: 0x04000754 RID: 1876
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000754")]
private XmlNodeEventHandler onUnknownNode;
// Token: 0x04000755 RID: 1877
[Token(Token = "0x4000755")]
private static Encoding DefaultEncoding;
// Token: 0x02000148 RID: 328
[Token(Token = "0x2000148")]
internal class SerializerData
{
// Token: 0x06000E43 RID: 3651 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000E43")]
[Address(RVA = "0x675A70", Offset = "0x674A70", VA = "0x180675A70")]
public XmlSerializationWriter CreateWriter()
{
return null;
}
// Token: 0x04000756 RID: 1878
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000756")]
public MethodInfo ReaderMethod;
// Token: 0x04000757 RID: 1879
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000757")]
public Type WriterType;
// Token: 0x04000758 RID: 1880
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000758")]
public MethodInfo WriterMethod;
// Token: 0x04000759 RID: 1881
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000759")]
public XmlSerializerImplementation Implementation;
}
}
}