374 lines
19 KiB
C#
374 lines
19 KiB
C#
using System;
|
|
using System.Diagnostics;
|
|
using System.Xml.Schema;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Xml.XPath
|
|
{
|
|
/// <summary>Provides a cursor model for navigating and editing XML data.</summary>
|
|
// Token: 0x02000089 RID: 137
|
|
[Token(Token = "0x2000089")]
|
|
[DebuggerDisplay("{debuggerDisplayProxy}")]
|
|
public abstract class XPathNavigator : XPathItem, ICloneable, IXmlNamespaceResolver
|
|
{
|
|
/// <summary>Gets the text value of the current node.</summary>
|
|
/// <returns>A <see langword="string" /> that contains the text value of the current node.</returns>
|
|
// Token: 0x0600056A RID: 1386 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600056A")]
|
|
[Address(RVA = "0x45E0C0", Offset = "0x45CEC0", VA = "0x18045E0C0", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Xml.Schema.XmlSchemaType" /> information for the current node.</summary>
|
|
/// <returns>An <see cref="T:System.Xml.Schema.XmlSchemaType" /> object; default is <see langword="null" />.</returns>
|
|
// Token: 0x170001C7 RID: 455
|
|
// (get) Token: 0x0600056B RID: 1387 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170001C7")]
|
|
public override XmlSchemaType XmlType
|
|
{
|
|
[Token(Token = "0x600056B")]
|
|
[Address(RVA = "0x45F080", Offset = "0x45DE80", VA = "0x18045F080", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the current node as a boxed object of the most appropriate .NET Framework type.</summary>
|
|
/// <returns>The current node as a boxed object of the most appropriate .NET Framework type.</returns>
|
|
// Token: 0x170001C8 RID: 456
|
|
// (get) Token: 0x0600056C RID: 1388 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170001C8")]
|
|
public override object TypedValue
|
|
{
|
|
[Token(Token = "0x600056C")]
|
|
[Address(RVA = "0x45E440", Offset = "0x45D240", VA = "0x18045E440", Slot = "6")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the .NET Framework <see cref="T:System.Type" /> of the current node.</summary>
|
|
/// <returns>The .NET Framework <see cref="T:System.Type" /> of the current node. The default value is <see cref="T:System.String" />.</returns>
|
|
// Token: 0x170001C9 RID: 457
|
|
// (get) Token: 0x0600056D RID: 1389 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170001C9")]
|
|
public override Type ValueType
|
|
{
|
|
[Token(Token = "0x600056D")]
|
|
[Address(RVA = "0x45EFA0", Offset = "0x45DDA0", VA = "0x18045EFA0", Slot = "7")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the current node's value as a <see cref="T:System.Boolean" />.</summary>
|
|
/// <returns>The current node's value as a <see cref="T:System.Boolean" />.</returns>
|
|
/// <exception cref="T:System.FormatException">The current node's string value cannot be converted to a <see cref="T:System.Boolean" />.</exception>
|
|
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.Boolean" /> is not valid.</exception>
|
|
// Token: 0x170001CA RID: 458
|
|
// (get) Token: 0x0600056E RID: 1390 RVA: 0x00004278 File Offset: 0x00002478
|
|
[Token(Token = "0x170001CA")]
|
|
public override bool ValueAsBoolean
|
|
{
|
|
[Token(Token = "0x600056E")]
|
|
[Address(RVA = "0x45E640", Offset = "0x45D440", VA = "0x18045E640", Slot = "8")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the current node's value as a <see cref="T:System.DateTime" />.</summary>
|
|
/// <returns>The current node's value as a <see cref="T:System.DateTime" />.</returns>
|
|
/// <exception cref="T:System.FormatException">The current node's string value cannot be converted to a <see cref="T:System.DateTime" />.</exception>
|
|
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.DateTime" /> is not valid.</exception>
|
|
// Token: 0x170001CB RID: 459
|
|
// (get) Token: 0x0600056F RID: 1391 RVA: 0x00004290 File Offset: 0x00002490
|
|
[Token(Token = "0x170001CB")]
|
|
public override DateTime ValueAsDateTime
|
|
{
|
|
[Token(Token = "0x600056F")]
|
|
[Address(RVA = "0x45E820", Offset = "0x45D620", VA = "0x18045E820", Slot = "9")]
|
|
get
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the current node's value as a <see cref="T:System.Double" />.</summary>
|
|
/// <returns>The current node's value as a <see cref="T:System.Double" />.</returns>
|
|
/// <exception cref="T:System.FormatException">The current node's string value cannot be converted to a <see cref="T:System.Double" />.</exception>
|
|
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.Double" /> is not valid.</exception>
|
|
// Token: 0x170001CC RID: 460
|
|
// (get) Token: 0x06000570 RID: 1392 RVA: 0x000042A8 File Offset: 0x000024A8
|
|
[Token(Token = "0x170001CC")]
|
|
public override double ValueAsDouble
|
|
{
|
|
[Token(Token = "0x6000570")]
|
|
[Address(RVA = "0x45EA00", Offset = "0x45D800", VA = "0x18045EA00", Slot = "10")]
|
|
get
|
|
{
|
|
return 0.0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the current node's value as an <see cref="T:System.Int32" />.</summary>
|
|
/// <returns>The current node's value as an <see cref="T:System.Int32" />.</returns>
|
|
/// <exception cref="T:System.FormatException">The current node's string value cannot be converted to a <see cref="T:System.Int32" />.</exception>
|
|
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.Int32" /> is not valid.</exception>
|
|
// Token: 0x170001CD RID: 461
|
|
// (get) Token: 0x06000571 RID: 1393 RVA: 0x000042C0 File Offset: 0x000024C0
|
|
[Token(Token = "0x170001CD")]
|
|
public override int ValueAsInt
|
|
{
|
|
[Token(Token = "0x6000571")]
|
|
[Address(RVA = "0x45EBE0", Offset = "0x45D9E0", VA = "0x18045EBE0", Slot = "11")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the current node's value as an <see cref="T:System.Int64" />.</summary>
|
|
/// <returns>The current node's value as an <see cref="T:System.Int64" />.</returns>
|
|
/// <exception cref="T:System.FormatException">The current node's string value cannot be converted to a <see cref="T:System.Int64" />.</exception>
|
|
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.Int64" /> is not valid.</exception>
|
|
// Token: 0x170001CE RID: 462
|
|
// (get) Token: 0x06000572 RID: 1394 RVA: 0x000042D8 File Offset: 0x000024D8
|
|
[Token(Token = "0x170001CE")]
|
|
public override long ValueAsLong
|
|
{
|
|
[Token(Token = "0x6000572")]
|
|
[Address(RVA = "0x45EDC0", Offset = "0x45DBC0", VA = "0x18045EDC0", Slot = "12")]
|
|
get
|
|
{
|
|
return 0L;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the current node's value as the <see cref="T:System.Type" /> specified, using the <see cref="T:System.Xml.IXmlNamespaceResolver" /> object specified to resolve namespace prefixes.</summary>
|
|
/// <param name="returnType">The <see cref="T:System.Type" /> to return the current node's value as.</param>
|
|
/// <param name="nsResolver">The <see cref="T:System.Xml.IXmlNamespaceResolver" /> object used to resolve namespace prefixes.</param>
|
|
/// <returns>The value of the current node as the <see cref="T:System.Type" /> requested.</returns>
|
|
/// <exception cref="T:System.FormatException">The current node's value is not in the correct format for the target type.</exception>
|
|
/// <exception cref="T:System.InvalidCastException">The attempted cast is not valid.</exception>
|
|
// Token: 0x06000573 RID: 1395 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000573")]
|
|
[Address(RVA = "0x45E0E0", Offset = "0x45CEE0", VA = "0x18045E0E0", Slot = "14")]
|
|
public override object ValueAs(Type returnType, IXmlNamespaceResolver nsResolver)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Creates a new copy of the <see cref="T:System.Xml.XPath.XPathNavigator" /> object.</summary>
|
|
/// <returns>A new copy of the <see cref="T:System.Xml.XPath.XPathNavigator" /> object.</returns>
|
|
// Token: 0x06000574 RID: 1396 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000574")]
|
|
[Address(RVA = "0x45E0A0", Offset = "0x45CEA0", VA = "0x18045E0A0", Slot = "15")]
|
|
object ICloneable.Clone()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, gets the <see cref="T:System.Xml.XmlNameTable" /> of the <see cref="T:System.Xml.XPath.XPathNavigator" />.</summary>
|
|
/// <returns>An <see cref="T:System.Xml.XmlNameTable" /> object enabling you to get the atomized version of a <see cref="T:System.String" /> within the XML document.</returns>
|
|
// Token: 0x170001CF RID: 463
|
|
// (get) Token: 0x06000575 RID: 1397
|
|
[Token(Token = "0x170001CF")]
|
|
public abstract XmlNameTable NameTable
|
|
{
|
|
[Token(Token = "0x6000575")]
|
|
[Address(Slot = "18")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Gets the namespace URI for the specified prefix.</summary>
|
|
/// <param name="prefix">The prefix whose namespace URI you want to resolve. To match the default namespace, pass <see cref="F:System.String.Empty" />.</param>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the namespace URI assigned to the namespace prefix specified; <see langword="null" /> if no namespace URI is assigned to the prefix specified. The <see cref="T:System.String" /> returned is atomized.</returns>
|
|
// Token: 0x06000576 RID: 1398 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000576")]
|
|
[Address(RVA = "0x45DC80", Offset = "0x45CA80", VA = "0x18045DC80", Slot = "19")]
|
|
public virtual string LookupNamespace(string prefix)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the prefix declared for the specified namespace URI.</summary>
|
|
/// <param name="namespaceURI">The namespace URI to resolve for the prefix.</param>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the namespace prefix assigned to the namespace URI specified; otherwise, <see cref="F:System.String.Empty" /> if no prefix is assigned to the namespace URI specified. The <see cref="T:System.String" /> returned is atomized.</returns>
|
|
// Token: 0x06000577 RID: 1399 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000577")]
|
|
[Address(RVA = "0x45DE00", Offset = "0x45CC00", VA = "0x18045DE00", Slot = "20")]
|
|
public virtual string LookupPrefix(string namespaceURI)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, creates a new <see cref="T:System.Xml.XPath.XPathNavigator" /> positioned at the same node as this <see cref="T:System.Xml.XPath.XPathNavigator" />.</summary>
|
|
/// <returns>A new <see cref="T:System.Xml.XPath.XPathNavigator" /> positioned at the same node as this <see cref="T:System.Xml.XPath.XPathNavigator" />.</returns>
|
|
// Token: 0x06000578 RID: 1400
|
|
[Token(Token = "0x6000578")]
|
|
[Address(Slot = "21")]
|
|
public abstract XPathNavigator Clone();
|
|
|
|
/// <summary>When overridden in a derived class, gets the <see cref="T:System.Xml.XPath.XPathNodeType" /> of the current node.</summary>
|
|
/// <returns>One of the <see cref="T:System.Xml.XPath.XPathNodeType" /> values representing the current node.</returns>
|
|
// Token: 0x170001D0 RID: 464
|
|
// (get) Token: 0x06000579 RID: 1401
|
|
[Token(Token = "0x170001D0")]
|
|
public abstract XPathNodeType NodeType
|
|
{
|
|
[Token(Token = "0x6000579")]
|
|
[Address(Slot = "22")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, gets the <see cref="P:System.Xml.XPath.XPathNavigator.Name" /> of the current node without any namespace prefix.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the local name of the current node, or <see cref="F:System.String.Empty" /> if the current node does not have a name (for example, text or comment nodes).</returns>
|
|
// Token: 0x170001D1 RID: 465
|
|
// (get) Token: 0x0600057A RID: 1402
|
|
[Token(Token = "0x170001D1")]
|
|
public abstract string LocalName
|
|
{
|
|
[Token(Token = "0x600057A")]
|
|
[Address(Slot = "23")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, gets the namespace URI of the current node.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the namespace URI of the current node, or <see cref="F:System.String.Empty" /> if the current node has no namespace URI.</returns>
|
|
// Token: 0x170001D2 RID: 466
|
|
// (get) Token: 0x0600057B RID: 1403
|
|
[Token(Token = "0x170001D2")]
|
|
public abstract string NamespaceURI
|
|
{
|
|
[Token(Token = "0x600057B")]
|
|
[Address(Slot = "24")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, gets the namespace prefix associated with the current node.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> that contains the namespace prefix associated with the current node.</returns>
|
|
// Token: 0x170001D3 RID: 467
|
|
// (get) Token: 0x0600057C RID: 1404
|
|
[Token(Token = "0x170001D3")]
|
|
public abstract string Prefix
|
|
{
|
|
[Token(Token = "0x600057C")]
|
|
[Address(Slot = "25")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Used by <see cref="T:System.Xml.XPath.XPathNavigator" /> implementations which provide a "virtualized" XML view over a store, to provide access to underlying objects.</summary>
|
|
/// <returns>The default is <see langword="null" />.</returns>
|
|
// Token: 0x170001D4 RID: 468
|
|
// (get) Token: 0x0600057D RID: 1405 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170001D4")]
|
|
public virtual object UnderlyingObject
|
|
{
|
|
[Token(Token = "0x600057D")]
|
|
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "26")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Moves the <see cref="T:System.Xml.XPath.XPathNavigator" /> to the namespace node with the specified namespace prefix.</summary>
|
|
/// <param name="name">The namespace prefix of the namespace node.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the <see cref="T:System.Xml.XPath.XPathNavigator" /> is successful moving to the specified namespace; <see langword="false" /> if a matching namespace node was not found, or if the <see cref="T:System.Xml.XPath.XPathNavigator" /> is not positioned on an element node. If <see langword="false" />, the position of the <see cref="T:System.Xml.XPath.XPathNavigator" /> is unchanged.</returns>
|
|
// Token: 0x0600057E RID: 1406 RVA: 0x000042F0 File Offset: 0x000024F0
|
|
[Token(Token = "0x600057E")]
|
|
[Address(RVA = "0x45E000", Offset = "0x45CE00", VA = "0x18045E000", Slot = "27")]
|
|
public virtual bool MoveToNamespace(string name)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, moves the <see cref="T:System.Xml.XPath.XPathNavigator" /> to the first namespace node that matches the <see cref="T:System.Xml.XPath.XPathNamespaceScope" /> specified.</summary>
|
|
/// <param name="namespaceScope">An <see cref="T:System.Xml.XPath.XPathNamespaceScope" /> value describing the namespace scope. </param>
|
|
/// <returns>Returns <see langword="true" /> if the <see cref="T:System.Xml.XPath.XPathNavigator" /> is successful moving to the first namespace node; otherwise, <see langword="false" />. If <see langword="false" />, the position of the <see cref="T:System.Xml.XPath.XPathNavigator" /> is unchanged.</returns>
|
|
// Token: 0x0600057F RID: 1407
|
|
[Token(Token = "0x600057F")]
|
|
[Address(Slot = "28")]
|
|
public abstract bool MoveToFirstNamespace(XPathNamespaceScope namespaceScope);
|
|
|
|
/// <summary>When overridden in a derived class, moves the <see cref="T:System.Xml.XPath.XPathNavigator" /> to the next namespace node matching the <see cref="T:System.Xml.XPath.XPathNamespaceScope" /> specified.</summary>
|
|
/// <param name="namespaceScope">An <see cref="T:System.Xml.XPath.XPathNamespaceScope" /> value describing the namespace scope. </param>
|
|
/// <returns>Returns <see langword="true" /> if the <see cref="T:System.Xml.XPath.XPathNavigator" /> is successful moving to the next namespace node; otherwise, <see langword="false" />. If <see langword="false" />, the position of the <see cref="T:System.Xml.XPath.XPathNavigator" /> is unchanged.</returns>
|
|
// Token: 0x06000580 RID: 1408
|
|
[Token(Token = "0x6000580")]
|
|
[Address(Slot = "29")]
|
|
public abstract bool MoveToNextNamespace(XPathNamespaceScope namespaceScope);
|
|
|
|
/// <summary>When overridden in a derived class, moves the <see cref="T:System.Xml.XPath.XPathNavigator" /> to the parent node of the current node.</summary>
|
|
/// <returns>Returns <see langword="true" /> if the <see cref="T:System.Xml.XPath.XPathNavigator" /> is successful moving to the parent node of the current node; otherwise, <see langword="false" />. If <see langword="false" />, the position of the <see cref="T:System.Xml.XPath.XPathNavigator" /> is unchanged.</returns>
|
|
// Token: 0x06000581 RID: 1409
|
|
[Token(Token = "0x6000581")]
|
|
[Address(Slot = "30")]
|
|
public abstract bool MoveToParent();
|
|
|
|
/// <summary>When overridden in a derived class, determines whether the current <see cref="T:System.Xml.XPath.XPathNavigator" /> is at the same position as the specified <see cref="T:System.Xml.XPath.XPathNavigator" />.</summary>
|
|
/// <param name="other">The <see cref="T:System.Xml.XPath.XPathNavigator" /> to compare to this <see cref="T:System.Xml.XPath.XPathNavigator" />.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the two <see cref="T:System.Xml.XPath.XPathNavigator" /> objects have the same position; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06000582 RID: 1410
|
|
[Token(Token = "0x6000582")]
|
|
[Address(Slot = "31")]
|
|
public abstract bool IsSamePosition(XPathNavigator other);
|
|
|
|
/// <summary>Gets the schema information that has been assigned to the current node as a result of schema validation.</summary>
|
|
/// <returns>An <see cref="T:System.Xml.Schema.IXmlSchemaInfo" /> object that contains the schema information for the current node.</returns>
|
|
// Token: 0x170001D5 RID: 469
|
|
// (get) Token: 0x06000583 RID: 1411 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170001D5")]
|
|
public virtual IXmlSchemaInfo SchemaInfo
|
|
{
|
|
[Token(Token = "0x6000583")]
|
|
[Address(RVA = "0x45E400", Offset = "0x45D200", VA = "0x18045E400", Slot = "32")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000584 RID: 1412 RVA: 0x00004308 File Offset: 0x00002508
|
|
[Token(Token = "0x6000584")]
|
|
[Address(RVA = "0x45DC70", Offset = "0x45CA70", VA = "0x18045DC70")]
|
|
internal static bool IsText(XPathNodeType type)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.XPath.XPathNavigator" /> class.</summary>
|
|
// Token: 0x06000585 RID: 1413 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000585")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
protected XPathNavigator()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000298 RID: 664
|
|
[Token(Token = "0x4000298")]
|
|
internal static readonly XPathNavigatorKeyComparer comparer;
|
|
|
|
// Token: 0x04000299 RID: 665
|
|
[Token(Token = "0x4000299")]
|
|
internal static readonly char[] NodeTypeLetter;
|
|
|
|
// Token: 0x0400029A RID: 666
|
|
[Token(Token = "0x400029A")]
|
|
internal static readonly char[] UniqueIdTbl;
|
|
|
|
// Token: 0x0400029B RID: 667
|
|
[Token(Token = "0x400029B")]
|
|
internal static readonly int[] ContentKindMasks;
|
|
}
|
|
}
|