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

116 lines
4.5 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Xml.Linq
{
/// <summary>Represents a node or an attribute in an XML tree.</summary>
// Token: 0x02000009 RID: 9
[Token(Token = "0x2000009")]
public abstract class XObject : IXmlLineInfo
{
// Token: 0x06000030 RID: 48 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000030")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
internal XObject()
{
}
/// <summary>Gets the node type for this <see cref="T:System.Xml.Linq.XObject" />.</summary>
/// <returns>The node type for this <see cref="T:System.Xml.Linq.XObject" />.</returns>
// Token: 0x17000008 RID: 8
// (get) Token: 0x06000031 RID: 49
[Token(Token = "0x17000008")]
public abstract XmlNodeType NodeType
{
[Token(Token = "0x6000031")]
[Address(Slot = "6")]
get;
}
/// <summary>Gets the parent <see cref="T:System.Xml.Linq.XElement" /> of this <see cref="T:System.Xml.Linq.XObject" />.</summary>
/// <returns>The parent <see cref="T:System.Xml.Linq.XElement" /> of this <see cref="T:System.Xml.Linq.XObject" />.</returns>
// Token: 0x17000009 RID: 9
// (get) Token: 0x06000032 RID: 50 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x17000009")]
public XElement Parent
{
[Token(Token = "0x6000032")]
[Address(RVA = "0x11CCE50", Offset = "0x11CBE50", VA = "0x1811CCE50")]
get
{
return null;
}
}
/// <summary>Gets the first annotation object of the specified type from this <see cref="T:System.Xml.Linq.XObject" />.</summary>
/// <param name="type">The type of the annotation to retrieve.</param>
/// <returns>The <see cref="T:System.Object" /> that contains the first annotation object that matches the specified type, or <see langword="null" /> if no annotation is of the specified type.</returns>
// Token: 0x06000033 RID: 51 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000033")]
[Address(RVA = "0x11CCA40", Offset = "0x11CBA40", VA = "0x1811CCA40")]
public object Annotation(Type type)
{
return null;
}
/// <summary>Gets the first annotation object of the specified type from this <see cref="T:System.Xml.Linq.XObject" />.</summary>
/// <typeparam name="T">The type of the annotation to retrieve.</typeparam>
/// <returns>The first annotation object that matches the specified type, or <see langword="null" /> if no annotation is of the specified type.</returns>
// Token: 0x06000034 RID: 52 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000034")]
[Address(RVA = "0x1E63E40", Offset = "0x1E62E40", VA = "0x181E63E40")]
public T Annotation<T>() where T : class
{
return null;
}
/// <summary>Gets the line number that the underlying <see cref="T:System.Xml.XmlReader" /> reported for this <see cref="T:System.Xml.Linq.XObject" />.</summary>
/// <returns>An <see cref="T:System.Int32" /> that contains the line number reported by the <see cref="T:System.Xml.XmlReader" /> for this <see cref="T:System.Xml.Linq.XObject" />.</returns>
// Token: 0x1700000A RID: 10
// (get) Token: 0x06000035 RID: 53 RVA: 0x00002190 File Offset: 0x00000390
[Token(Token = "0x1700000A")]
int IXmlLineInfo.LineNumber
{
[Token(Token = "0x6000035")]
[Address(RVA = "0x11CCDB0", Offset = "0x11CBDB0", VA = "0x1811CCDB0", Slot = "4")]
get
{
return 0;
}
}
/// <summary>Gets the line position that the underlying <see cref="T:System.Xml.XmlReader" /> reported for this <see cref="T:System.Xml.Linq.XObject" />.</summary>
/// <returns>An <see cref="T:System.Int32" /> that contains the line position reported by the <see cref="T:System.Xml.XmlReader" /> for this <see cref="T:System.Xml.Linq.XObject" />.</returns>
// Token: 0x1700000B RID: 11
// (get) Token: 0x06000036 RID: 54 RVA: 0x000021A8 File Offset: 0x000003A8
[Token(Token = "0x1700000B")]
int IXmlLineInfo.LinePosition
{
[Token(Token = "0x6000036")]
[Address(RVA = "0x11CCE00", Offset = "0x11CBE00", VA = "0x1811CCE00", Slot = "5")]
get
{
return 0;
}
}
// Token: 0x06000037 RID: 55 RVA: 0x000021C0 File Offset: 0x000003C0
[Token(Token = "0x6000037")]
[Address(RVA = "0x11CCBA0", Offset = "0x11CBBA0", VA = "0x1811CCBA0")]
internal SaveOptions GetSaveOptionsFromAnnotations()
{
return SaveOptions.None;
}
// Token: 0x04000014 RID: 20
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000014")]
internal XContainer parent;
// Token: 0x04000015 RID: 21
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000015")]
internal object annotations;
}
}