using System; using System.ComponentModel; using Cpp2IlInjected; using MS.Internal.Xml.Linq.ComponentModel; namespace System.Xml.Linq { /// Represents an XML attribute. // Token: 0x0200001A RID: 26 [Token(Token = "0x200001A")] [TypeDescriptionProvider(typeof(XTypeDescriptionProvider))] public class XAttribute : XObject { /// Initializes a new instance of the class from the specified name and value. /// The of the attribute. /// An containing the value of the attribute. /// The or parameter is . // Token: 0x06000082 RID: 130 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000082")] [Address(RVA = "0x11CA840", Offset = "0x11C9840", VA = "0x1811CA840")] public XAttribute(XName name, object value) { } /// Determines if this attribute is a namespace declaration. /// /// if this attribute is a namespace declaration; otherwise . // Token: 0x17000027 RID: 39 // (get) Token: 0x06000083 RID: 131 RVA: 0x000022C8 File Offset: 0x000004C8 [Token(Token = "0x17000027")] public bool IsNamespaceDeclaration { [Token(Token = "0x6000083")] [Address(RVA = "0x11CA920", Offset = "0x11C9920", VA = "0x1811CA920")] get { return default(bool); } } /// Gets the expanded name of this attribute. /// An containing the name of this attribute. // Token: 0x17000028 RID: 40 // (get) Token: 0x06000084 RID: 132 RVA: 0x00002052 File Offset: 0x00000252 [Token(Token = "0x17000028")] public XName Name { [Token(Token = "0x6000084")] [Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")] get { return null; } } /// Gets the node type for this node. /// The node type. For objects, this value is . // Token: 0x17000029 RID: 41 // (get) Token: 0x06000085 RID: 133 RVA: 0x000022E0 File Offset: 0x000004E0 [Token(Token = "0x17000029")] public override XmlNodeType NodeType { [Token(Token = "0x6000085")] [Address(RVA = "0x4E86A0", Offset = "0x4E76A0", VA = "0x1804E86A0", Slot = "6")] get { return XmlNodeType.None; } } /// Gets or sets the value of this attribute. /// A containing the value of this attribute. /// When setting, the is . // Token: 0x1700002A RID: 42 // (get) Token: 0x06000086 RID: 134 RVA: 0x00002052 File Offset: 0x00000252 [Token(Token = "0x1700002A")] public string Value { [Token(Token = "0x6000086")] [Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")] get { return null; } } /// Converts the current object to a string representation. /// A containing the XML text representation of an attribute and its value. // Token: 0x06000087 RID: 135 RVA: 0x00002052 File Offset: 0x00000252 [Token(Token = "0x6000087")] [Address(RVA = "0x11CA150", Offset = "0x11C9150", VA = "0x1811CA150", Slot = "3")] public override string ToString() { return null; } // Token: 0x06000088 RID: 136 RVA: 0x00002052 File Offset: 0x00000252 [Token(Token = "0x6000088")] [Address(RVA = "0x11CA000", Offset = "0x11C9000", VA = "0x1811CA000")] internal string GetPrefixOfNamespace(XNamespace ns) { return null; } // Token: 0x06000089 RID: 137 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000089")] [Address(RVA = "0x11CA4D0", Offset = "0x11C94D0", VA = "0x1811CA4D0")] private static void ValidateAttribute(XName name, string value) { } // Token: 0x04000041 RID: 65 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000041")] internal XAttribute next; // Token: 0x04000042 RID: 66 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000042")] internal XName name; // Token: 0x04000043 RID: 67 [FieldOffset(Offset = "0x30")] [Token(Token = "0x4000043")] internal string value; } }