120 lines
4.2 KiB
C#
120 lines
4.2 KiB
C#
using System;
|
|
using System.Text;
|
|
using System.Xml.Schema;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Xml.Serialization
|
|
{
|
|
/// <summary>Specifies that the <see cref="T:System.Xml.Serialization.XmlSerializer" /> must serialize the class member as an XML attribute.</summary>
|
|
// Token: 0x02000121 RID: 289
|
|
[Token(Token = "0x2000121")]
|
|
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
|
|
public class XmlAttributeAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.Serialization.XmlAttributeAttribute" /> class and specifies the name of the generated XML attribute.</summary>
|
|
/// <param name="attributeName">The name of the XML attribute that the <see cref="T:System.Xml.Serialization.XmlSerializer" /> generates. </param>
|
|
// Token: 0x06000CE8 RID: 3304 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000CE8")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public XmlAttributeAttribute(string attributeName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets the name of the XML attribute.</summary>
|
|
/// <returns>The name of the XML attribute. The default is the member name.</returns>
|
|
// Token: 0x1700036C RID: 876
|
|
// (get) Token: 0x06000CE9 RID: 3305 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700036C")]
|
|
public string AttributeName
|
|
{
|
|
[Token(Token = "0x6000CE9")]
|
|
[Address(RVA = "0x8924E0", Offset = "0x8914E0", VA = "0x1808924E0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the XSD data type of the XML attribute generated by the <see cref="T:System.Xml.Serialization.XmlSerializer" />.</summary>
|
|
/// <returns>An XSD (XML Schema Document) data type, as defined by the World Wide Web Consortium (www.w3.org) document named "XML Schema: DataTypes".</returns>
|
|
// Token: 0x1700036D RID: 877
|
|
// (get) Token: 0x06000CEA RID: 3306 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06000CEB RID: 3307
|
|
[Token(Token = "0x1700036D")]
|
|
public extern string DataType
|
|
{
|
|
[Token(Token = "0x6000CEA")]
|
|
[Address(RVA = "0x892530", Offset = "0x891530", VA = "0x180892530")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6000CEB")]
|
|
[Address(RVA = "0x4157F0", Offset = "0x4147F0", VA = "0x1804157F0")]
|
|
set;
|
|
}
|
|
|
|
/// <summary>Gets or sets a value that indicates whether the XML attribute name generated by the <see cref="T:System.Xml.Serialization.XmlSerializer" /> is qualified.</summary>
|
|
/// <returns>One of the <see cref="T:System.Xml.Schema.XmlSchemaForm" /> values. The default is <see langword="XmlForm.None" />.</returns>
|
|
// Token: 0x1700036E RID: 878
|
|
// (get) Token: 0x06000CEC RID: 3308 RVA: 0x00006C60 File Offset: 0x00004E60
|
|
[Token(Token = "0x1700036E")]
|
|
public XmlSchemaForm Form
|
|
{
|
|
[Token(Token = "0x6000CEC")]
|
|
[Address(RVA = "0x471180", Offset = "0x470180", VA = "0x180471180")]
|
|
get
|
|
{
|
|
return XmlSchemaForm.None;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the XML namespace of the XML attribute.</summary>
|
|
/// <returns>The XML namespace of the XML attribute.</returns>
|
|
// Token: 0x1700036F RID: 879
|
|
// (get) Token: 0x06000CED RID: 3309 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700036F")]
|
|
public string Namespace
|
|
{
|
|
[Token(Token = "0x6000CED")]
|
|
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000CEE RID: 3310 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000CEE")]
|
|
[Address(RVA = "0x892350", Offset = "0x891350", VA = "0x180892350")]
|
|
internal void AddKeyHash(StringBuilder sb)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040006C8 RID: 1736
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40006C8")]
|
|
private string attributeName;
|
|
|
|
// Token: 0x040006C9 RID: 1737
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40006C9")]
|
|
private string dataType;
|
|
|
|
// Token: 0x040006CA RID: 1738
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40006CA")]
|
|
private Type type;
|
|
|
|
// Token: 0x040006CB RID: 1739
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40006CB")]
|
|
private XmlSchemaForm form;
|
|
|
|
// Token: 0x040006CC RID: 1740
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40006CC")]
|
|
private string ns;
|
|
}
|
|
}
|