using System;
using Cpp2IlInjected;
namespace System.Xml.Linq
{
/// Represents a node or an attribute in an XML tree.
// 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()
{
}
/// Gets the node type for this .
/// The node type for this .
// Token: 0x17000008 RID: 8
// (get) Token: 0x06000031 RID: 49
[Token(Token = "0x17000008")]
public abstract XmlNodeType NodeType
{
[Token(Token = "0x6000031")]
[Address(Slot = "6")]
get;
}
/// Gets the parent of this .
/// The parent of this .
// 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;
}
}
/// Gets the first annotation object of the specified type from this .
/// The type of the annotation to retrieve.
/// The that contains the first annotation object that matches the specified type, or if no annotation is of the specified type.
// 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;
}
/// Gets the first annotation object of the specified type from this .
/// The type of the annotation to retrieve.
/// The first annotation object that matches the specified type, or if no annotation is of the specified type.
// Token: 0x06000034 RID: 52 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000034")]
[Address(RVA = "0x1E63E40", Offset = "0x1E62E40", VA = "0x181E63E40")]
public T Annotation() where T : class
{
return null;
}
/// Gets the line number that the underlying reported for this .
/// An that contains the line number reported by the for this .
// 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;
}
}
/// Gets the line position that the underlying reported for this .
/// An that contains the line position reported by the for this .
// 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;
}
}