183 lines
7.0 KiB
C#
183 lines
7.0 KiB
C#
using System;
|
|
using System.Text;
|
|
using System.Xml.Schema;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Xml.Serialization
|
|
{
|
|
/// <summary>Indicates that a public field or property represents an XML element when the <see cref="T:System.Xml.Serialization.XmlSerializer" /> serializes or deserializes the object that contains it.</summary>
|
|
// Token: 0x02000126 RID: 294
|
|
[Token(Token = "0x2000126")]
|
|
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
|
|
public class XmlElementAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.Serialization.XmlElementAttribute" /> class and specifies the name of the XML element.</summary>
|
|
/// <param name="elementName">The XML element name of the serialized member. </param>
|
|
// Token: 0x06000D0E RID: 3342 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000D0E")]
|
|
[Address(RVA = "0x895E80", Offset = "0x894E80", VA = "0x180895E80")]
|
|
public XmlElementAttribute(string elementName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.Serialization.XmlElementAttribute" /> and specifies the name of the XML element and a derived type for the member to which the <see cref="T:System.Xml.Serialization.XmlElementAttribute" /> is applied. This member type is used when the <see cref="T:System.Xml.Serialization.XmlSerializer" /> serializes the object that contains it.</summary>
|
|
/// <param name="elementName">The XML element name of the serialized member. </param>
|
|
/// <param name="type">The <see cref="T:System.Type" /> of an object derived from the member's type. </param>
|
|
// Token: 0x06000D0F RID: 3343 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000D0F")]
|
|
[Address(RVA = "0x895E40", Offset = "0x894E40", VA = "0x180895E40")]
|
|
public XmlElementAttribute(string elementName, Type type)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets the XML Schema definition (XSD) data type of the XML element generated by the <see cref="T:System.Xml.Serialization.XmlSerializer" />.</summary>
|
|
/// <returns>An XML Schema data type, as defined by the World Wide Web Consortium (www.w3.org) document named "XML Schema Part 2: Datatypes".</returns>
|
|
/// <exception cref="T:System.Exception">The XML Schema data type you have specified cannot be mapped to the.NET data type. </exception>
|
|
// Token: 0x17000382 RID: 898
|
|
// (get) Token: 0x06000D10 RID: 3344 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000382")]
|
|
public string DataType
|
|
{
|
|
[Token(Token = "0x6000D10")]
|
|
[Address(RVA = "0x895EB0", Offset = "0x894EB0", VA = "0x180895EB0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the name of the generated XML element.</summary>
|
|
/// <returns>The name of the generated XML element. The default is the member identifier.</returns>
|
|
// Token: 0x17000383 RID: 899
|
|
// (get) Token: 0x06000D11 RID: 3345 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000383")]
|
|
public string ElementName
|
|
{
|
|
[Token(Token = "0x6000D11")]
|
|
[Address(RVA = "0x895F00", Offset = "0x894F00", VA = "0x180895F00")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value that indicates whether the element is qualified.</summary>
|
|
/// <returns>One of the <see cref="T:System.Xml.Schema.XmlSchemaForm" /> values. The default is <see cref="F:System.Xml.Schema.XmlSchemaForm.None" />.</returns>
|
|
// Token: 0x17000384 RID: 900
|
|
// (get) Token: 0x06000D12 RID: 3346 RVA: 0x00006CD8 File Offset: 0x00004ED8
|
|
[Token(Token = "0x17000384")]
|
|
public XmlSchemaForm Form
|
|
{
|
|
[Token(Token = "0x6000D12")]
|
|
[Address(RVA = "0x470B70", Offset = "0x46FB70", VA = "0x180470B70")]
|
|
get
|
|
{
|
|
return XmlSchemaForm.None;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the namespace assigned to the XML element that results when the class is serialized.</summary>
|
|
/// <returns>The namespace of the XML element.</returns>
|
|
// Token: 0x17000385 RID: 901
|
|
// (get) Token: 0x06000D13 RID: 3347 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000385")]
|
|
public string Namespace
|
|
{
|
|
[Token(Token = "0x6000D13")]
|
|
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value that indicates whether the <see cref="T:System.Xml.Serialization.XmlSerializer" /> must serialize a member that is set to <see langword="null" /> as an empty tag with the <see langword="xsi:nil" /> attribute set to <see langword="true" />.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the <see cref="T:System.Xml.Serialization.XmlSerializer" /> generates the <see langword="xsi:nil" /> attribute; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x17000386 RID: 902
|
|
// (get) Token: 0x06000D14 RID: 3348 RVA: 0x00006CF0 File Offset: 0x00004EF0
|
|
[Token(Token = "0x17000386")]
|
|
public bool IsNullable
|
|
{
|
|
[Token(Token = "0x6000D14")]
|
|
[Address(RVA = "0x5AB2E0", Offset = "0x5AA2E0", VA = "0x1805AB2E0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the explicit order in which the elements are serialized or deserialized.</summary>
|
|
/// <returns>The order of the code generation.</returns>
|
|
// Token: 0x17000387 RID: 903
|
|
// (get) Token: 0x06000D15 RID: 3349 RVA: 0x00006D08 File Offset: 0x00004F08
|
|
[Token(Token = "0x17000387")]
|
|
public int Order
|
|
{
|
|
[Token(Token = "0x6000D15")]
|
|
[Address(RVA = "0x678D20", Offset = "0x677D20", VA = "0x180678D20")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the object type used to represent the XML element.</summary>
|
|
/// <returns>The <see cref="T:System.Type" /> of the member.</returns>
|
|
// Token: 0x17000388 RID: 904
|
|
// (get) Token: 0x06000D16 RID: 3350 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000388")]
|
|
public Type Type
|
|
{
|
|
[Token(Token = "0x6000D16")]
|
|
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000D17 RID: 3351 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000D17")]
|
|
[Address(RVA = "0x895C90", Offset = "0x894C90", VA = "0x180895C90")]
|
|
internal void AddKeyHash(StringBuilder sb)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040006DE RID: 1758
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40006DE")]
|
|
private string dataType;
|
|
|
|
// Token: 0x040006DF RID: 1759
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40006DF")]
|
|
private string elementName;
|
|
|
|
// Token: 0x040006E0 RID: 1760
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40006E0")]
|
|
private XmlSchemaForm form;
|
|
|
|
// Token: 0x040006E1 RID: 1761
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40006E1")]
|
|
private string ns;
|
|
|
|
// Token: 0x040006E2 RID: 1762
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40006E2")]
|
|
private bool isNullable;
|
|
|
|
// Token: 0x040006E3 RID: 1763
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40006E3")]
|
|
private Type type;
|
|
|
|
// Token: 0x040006E4 RID: 1764
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40006E4")]
|
|
private int order;
|
|
}
|
|
}
|