Files
27Aug2021-Cpp2IL-Dump/System.Xml/System/Xml/Serialization/XmlRootAttribute.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

143 lines
5.4 KiB
C#

using System;
using System.Text;
using Cpp2IlInjected;
namespace System.Xml.Serialization
{
/// <summary>Controls XML serialization of the attribute target as an XML root element.</summary>
// Token: 0x02000134 RID: 308
[Token(Token = "0x2000134")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.ReturnValue)]
public class XmlRootAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.Serialization.XmlRootAttribute" /> class.</summary>
// Token: 0x06000D55 RID: 3413 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D55")]
[Address(RVA = "0xDF4E30", Offset = "0xDF3E30", VA = "0x180DF4E30")]
public XmlRootAttribute()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.Serialization.XmlRootAttribute" /> class and specifies the name of the XML root element.</summary>
/// <param name="elementName">The name of the XML root element. </param>
// Token: 0x06000D56 RID: 3414 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D56")]
[Address(RVA = "0xDF4E40", Offset = "0xDF3E40", VA = "0x180DF4E40")]
public XmlRootAttribute(string elementName)
{
}
/// <summary>Gets or sets the XSD data type of the XML root element.</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: 0x1700039A RID: 922
// (get) Token: 0x06000D57 RID: 3415 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06000D58 RID: 3416 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700039A")]
public string DataType
{
[Token(Token = "0x6000D57")]
[Address(RVA = "0xDF4E70", Offset = "0xDF3E70", VA = "0x180DF4E70")]
get
{
return null;
}
[Token(Token = "0x6000D58")]
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
set
{
}
}
/// <summary>Gets or sets the name of the XML element that is generated and recognized by the <see cref="T:System.Xml.Serialization.XmlSerializer" /> class's <see cref="M:System.Xml.Serialization.XmlSerializer.Serialize(System.IO.TextWriter,System.Object)" /> and <see cref="M:System.Xml.Serialization.XmlSerializer.Deserialize(System.IO.Stream)" /> methods, respectively.</summary>
/// <returns>The name of the XML root element that is generated and recognized in an XML-document instance. The default is the name of the serialized class.</returns>
// Token: 0x1700039B RID: 923
// (get) Token: 0x06000D59 RID: 3417 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06000D5A RID: 3418 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700039B")]
public string ElementName
{
[Token(Token = "0x6000D59")]
[Address(RVA = "0xDF4EC0", Offset = "0xDF3EC0", VA = "0x180DF4EC0")]
get
{
return null;
}
[Token(Token = "0x6000D5A")]
[Address(RVA = "0x4157F0", Offset = "0x4147F0", VA = "0x1804157F0")]
set
{
}
}
/// <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" /> into 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: 0x1700039C RID: 924
// (get) Token: 0x06000D5B RID: 3419 RVA: 0x00006DE0 File Offset: 0x00004FE0
// (set) Token: 0x06000D5C RID: 3420 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700039C")]
public bool IsNullable
{
[Token(Token = "0x6000D5B")]
[Address(RVA = "0x4700C0", Offset = "0x46F0C0", VA = "0x1804700C0")]
get
{
return default(bool);
}
[Token(Token = "0x6000D5C")]
[Address(RVA = "0x65E580", Offset = "0x65D580", VA = "0x18065E580")]
set
{
}
}
/// <summary>Gets or sets the namespace for the XML root element.</summary>
/// <returns>The namespace for the XML element.</returns>
// Token: 0x1700039D RID: 925
// (get) Token: 0x06000D5D RID: 3421 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06000D5E RID: 3422 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x1700039D")]
public string Namespace
{
[Token(Token = "0x6000D5D")]
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
get
{
return null;
}
[Token(Token = "0x6000D5E")]
[Address(RVA = "0x415820", Offset = "0x414820", VA = "0x180415820")]
set
{
}
}
// Token: 0x06000D5F RID: 3423 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D5F")]
[Address(RVA = "0xDF4D80", Offset = "0xDF3D80", VA = "0x180DF4D80")]
internal void AddKeyHash(StringBuilder sb)
{
}
// Token: 0x04000703 RID: 1795
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000703")]
private string dataType;
// Token: 0x04000704 RID: 1796
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000704")]
private string elementName;
// Token: 0x04000705 RID: 1797
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000705")]
private bool isNullable;
// Token: 0x04000706 RID: 1798
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000706")]
private string ns;
}
}