50 lines
2.1 KiB
C#
50 lines
2.1 KiB
C#
using System;
|
|
using System.Text;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Xml.Serialization
|
|
{
|
|
/// <summary>Controls how the <see cref="T:System.Xml.Serialization.XmlSerializer" /> serializes an enumeration member.</summary>
|
|
// Token: 0x02000128 RID: 296
|
|
[Token(Token = "0x2000128")]
|
|
[AttributeUsage(AttributeTargets.Field)]
|
|
public class XmlEnumAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.Serialization.XmlEnumAttribute" /> class, and specifies the XML value that the <see cref="T:System.Xml.Serialization.XmlSerializer" /> generates or recognizes (when it serializes or deserializes the enumeration, respectively).</summary>
|
|
/// <param name="name">The overriding name of the enumeration member. </param>
|
|
// Token: 0x06000D1D RID: 3357 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000D1D")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public XmlEnumAttribute(string name)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets the value generated in an XML-document instance when the <see cref="T:System.Xml.Serialization.XmlSerializer" /> serializes an enumeration, or the value recognized when it deserializes the enumeration member.</summary>
|
|
/// <returns>The value generated in an XML-document instance when the <see cref="T:System.Xml.Serialization.XmlSerializer" /> serializes the enumeration, or the value recognized when it is deserializes the enumeration member.</returns>
|
|
// Token: 0x1700038B RID: 907
|
|
// (get) Token: 0x06000D1E RID: 3358 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700038B")]
|
|
public string Name
|
|
{
|
|
[Token(Token = "0x6000D1E")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000D1F RID: 3359 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000D1F")]
|
|
[Address(RVA = "0xDEE430", Offset = "0xDED430", VA = "0x180DEE430")]
|
|
internal void AddKeyHash(StringBuilder sb)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040006E5 RID: 1765
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40006E5")]
|
|
private string name;
|
|
}
|
|
}
|