Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

152 lines
5.5 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Xml.Serialization;
using Cpp2IlInjected;
using MS.Internal.Xml.Linq.ComponentModel;
namespace System.Xml.Linq
{
/// <summary>Represents an XML element. See XElement Class Overview and the Remarks section on this page for usage information and examples.</summary>
// Token: 0x0200000F RID: 15
[Token(Token = "0x200000F")]
[XmlTypeConvertor("ConvertForAssignment")]
[TypeDescriptionProvider(typeof(XTypeDescriptionProvider<XElement>))]
[XmlSchemaProvider(null)]
public class XElement : XContainer
{
/// <summary>Gets a value indicating whether this element has at least one attribute.</summary>
/// <returns>
/// <see langword="true" /> if this element has at least one attribute; otherwise <see langword="false" />.</returns>
// Token: 0x17000011 RID: 17
// (get) Token: 0x0600004F RID: 79 RVA: 0x00002208 File Offset: 0x00000408
[Token(Token = "0x17000011")]
public bool HasAttributes
{
[Token(Token = "0x600004F")]
[Address(RVA = "0x8B0C40", Offset = "0x8AFC40", VA = "0x1808B0C40")]
get
{
return default(bool);
}
}
/// <summary>Gets a value indicating whether this element contains no content.</summary>
/// <returns>
/// <see langword="true" /> if this element contains no content; otherwise <see langword="false" />.</returns>
// Token: 0x17000012 RID: 18
// (get) Token: 0x06000050 RID: 80 RVA: 0x00002220 File Offset: 0x00000420
[Token(Token = "0x17000012")]
public bool IsEmpty
{
[Token(Token = "0x6000050")]
[Address(RVA = "0x11CB8F0", Offset = "0x11CA8F0", VA = "0x1811CB8F0")]
get
{
return default(bool);
}
}
/// <summary>Gets or sets the name of this element.</summary>
/// <returns>An <see cref="T:System.Xml.Linq.XName" /> that contains the name of this element.</returns>
// Token: 0x17000013 RID: 19
// (get) Token: 0x06000051 RID: 81 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x17000013")]
public XName Name
{
[Token(Token = "0x6000051")]
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
get
{
return null;
}
}
/// <summary>Gets the node type for this node.</summary>
/// <returns>The node type. For <see cref="T:System.Xml.Linq.XElement" /> objects, this value is <see cref="F:System.Xml.XmlNodeType.Element" />.</returns>
// Token: 0x17000014 RID: 20
// (get) Token: 0x06000052 RID: 82 RVA: 0x00002238 File Offset: 0x00000438
[Token(Token = "0x17000014")]
public override XmlNodeType NodeType
{
[Token(Token = "0x6000052")]
[Address(RVA = "0x4E8690", Offset = "0x4E7690", VA = "0x1804E8690", Slot = "6")]
get
{
return XmlNodeType.None;
}
}
/// <summary>Gets or sets the concatenated text contents of this element.</summary>
/// <returns>A <see cref="T:System.String" /> that contains all of the text content of this element. If there are multiple text nodes, they will be concatenated.</returns>
// Token: 0x17000015 RID: 21
// (get) Token: 0x06000053 RID: 83 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x17000015")]
public string Value
{
[Token(Token = "0x6000053")]
[Address(RVA = "0x11CB900", Offset = "0x11CA900", VA = "0x1811CB900")]
get
{
return null;
}
}
/// <summary>Returns a collection of attributes of this element.</summary>
/// <returns>An <see cref="T:System.Collections.Generic.IEnumerable`1" /> of <see cref="T:System.Xml.Linq.XAttribute" /> of attributes of this element.</returns>
// Token: 0x06000054 RID: 84 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000054")]
[Address(RVA = "0x11CB400", Offset = "0x11CA400", VA = "0x1811CB400")]
public IEnumerable<XAttribute> Attributes()
{
return null;
}
/// <summary>Gets the prefix associated with a namespace for this <see cref="T:System.Xml.Linq.XElement" />.</summary>
/// <param name="ns">An <see cref="T:System.Xml.Linq.XNamespace" /> to look up.</param>
/// <returns>A <see cref="T:System.String" /> that contains the namespace prefix.</returns>
// Token: 0x06000055 RID: 85 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000055")]
[Address(RVA = "0x11CB5C0", Offset = "0x11CA5C0", VA = "0x1811CB5C0")]
public string GetPrefixOfNamespace(XNamespace ns)
{
return null;
}
/// <summary>Write this element to an <see cref="T:System.Xml.XmlWriter" />.</summary>
/// <param name="writer">An <see cref="T:System.Xml.XmlWriter" /> into which this method will write.</param>
// Token: 0x06000056 RID: 86 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000056")]
[Address(RVA = "0x11CB830", Offset = "0x11CA830", VA = "0x1811CB830", Slot = "7")]
public override void WriteTo(XmlWriter writer)
{
}
// Token: 0x06000057 RID: 87 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000057")]
[Address(RVA = "0x11CB470", Offset = "0x11CA470", VA = "0x1811CB470")]
private IEnumerable<XAttribute> GetAttributes(XName name)
{
return null;
}
// Token: 0x06000058 RID: 88 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000058")]
[Address(RVA = "0x11CB4F0", Offset = "0x11CA4F0", VA = "0x1811CB4F0")]
private string GetNamespaceOfPrefixInScope(string prefix, XElement outOfScope)
{
return null;
}
// Token: 0x04000020 RID: 32
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000020")]
internal XName name;
// Token: 0x04000021 RID: 33
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000021")]
internal XAttribute lastAttr;
}
}