386 lines
19 KiB
C#
386 lines
19 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
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: 0x02000103 RID: 259
|
|
[Token(Token = "0x2000103")]
|
|
[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: 0x06000C4B RID: 3147 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000C4B")]
|
|
[Address(RVA = "0x67A0A0", Offset = "0x6790A0", VA = "0x18067A0A0", 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: 0x17000338 RID: 824
|
|
// (get) Token: 0x06000C4C RID: 3148 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000338")]
|
|
public override XmlSchemaType XmlType
|
|
{
|
|
[Token(Token = "0x6000C4C")]
|
|
[Address(RVA = "0x67B060", Offset = "0x67A060", VA = "0x18067B060", 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: 0x17000339 RID: 825
|
|
// (get) Token: 0x06000C4D RID: 3149 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000339")]
|
|
public override object TypedValue
|
|
{
|
|
[Token(Token = "0x6000C4D")]
|
|
[Address(RVA = "0x67A420", Offset = "0x679420", VA = "0x18067A420", 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: 0x1700033A RID: 826
|
|
// (get) Token: 0x06000C4E RID: 3150 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700033A")]
|
|
public override Type ValueType
|
|
{
|
|
[Token(Token = "0x6000C4E")]
|
|
[Address(RVA = "0x67AF80", Offset = "0x679F80", VA = "0x18067AF80", 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: 0x1700033B RID: 827
|
|
// (get) Token: 0x06000C4F RID: 3151 RVA: 0x00006900 File Offset: 0x00004B00
|
|
[Token(Token = "0x1700033B")]
|
|
public override bool ValueAsBoolean
|
|
{
|
|
[Token(Token = "0x6000C4F")]
|
|
[Address(RVA = "0x67A620", Offset = "0x679620", VA = "0x18067A620", 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: 0x1700033C RID: 828
|
|
// (get) Token: 0x06000C50 RID: 3152 RVA: 0x00006918 File Offset: 0x00004B18
|
|
[Token(Token = "0x1700033C")]
|
|
public override DateTime ValueAsDateTime
|
|
{
|
|
[Token(Token = "0x6000C50")]
|
|
[Address(RVA = "0x67A800", Offset = "0x679800", VA = "0x18067A800", 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: 0x1700033D RID: 829
|
|
// (get) Token: 0x06000C51 RID: 3153 RVA: 0x00006930 File Offset: 0x00004B30
|
|
[Token(Token = "0x1700033D")]
|
|
public override double ValueAsDouble
|
|
{
|
|
[Token(Token = "0x6000C51")]
|
|
[Address(RVA = "0x67A9E0", Offset = "0x6799E0", VA = "0x18067A9E0", 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: 0x1700033E RID: 830
|
|
// (get) Token: 0x06000C52 RID: 3154 RVA: 0x00006948 File Offset: 0x00004B48
|
|
[Token(Token = "0x1700033E")]
|
|
public override int ValueAsInt
|
|
{
|
|
[Token(Token = "0x6000C52")]
|
|
[Address(RVA = "0x67ABC0", Offset = "0x679BC0", VA = "0x18067ABC0", 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: 0x1700033F RID: 831
|
|
// (get) Token: 0x06000C53 RID: 3155 RVA: 0x00006960 File Offset: 0x00004B60
|
|
[Token(Token = "0x1700033F")]
|
|
public override long ValueAsLong
|
|
{
|
|
[Token(Token = "0x6000C53")]
|
|
[Address(RVA = "0x67ADA0", Offset = "0x679DA0", VA = "0x18067ADA0", 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: 0x06000C54 RID: 3156 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000C54")]
|
|
[Address(RVA = "0x67A0C0", Offset = "0x6790C0", VA = "0x18067A0C0", 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: 0x06000C55 RID: 3157 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000C55")]
|
|
[Address(RVA = "0x67A080", Offset = "0x679080", VA = "0x18067A080", 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: 0x17000340 RID: 832
|
|
// (get) Token: 0x06000C56 RID: 3158
|
|
[Token(Token = "0x17000340")]
|
|
public abstract XmlNameTable NameTable
|
|
{
|
|
[Token(Token = "0x6000C56")]
|
|
[Address(Slot = "19")]
|
|
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: 0x06000C57 RID: 3159 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000C57")]
|
|
[Address(RVA = "0x679C60", Offset = "0x678C60", VA = "0x180679C60", Slot = "20")]
|
|
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: 0x06000C58 RID: 3160 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000C58")]
|
|
[Address(RVA = "0x679DE0", Offset = "0x678DE0", VA = "0x180679DE0", Slot = "21")]
|
|
public virtual string LookupPrefix(string namespaceURI)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the in-scope namespaces of the current node.</summary>
|
|
/// <param name="scope">An <see cref="T:System.Xml.XmlNamespaceScope" /> value specifying the namespaces to return.</param>
|
|
/// <returns>An <see cref="T:System.Collections.Generic.IDictionary`2" /> collection of namespace names keyed by prefix.</returns>
|
|
// Token: 0x06000C59 RID: 3161 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000C59")]
|
|
[Address(RVA = "0x679A80", Offset = "0x678A80", VA = "0x180679A80", Slot = "22")]
|
|
public virtual IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope)
|
|
{
|
|
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: 0x06000C5A RID: 3162
|
|
[Token(Token = "0x6000C5A")]
|
|
[Address(Slot = "23")]
|
|
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: 0x17000341 RID: 833
|
|
// (get) Token: 0x06000C5B RID: 3163
|
|
[Token(Token = "0x17000341")]
|
|
public abstract XPathNodeType NodeType
|
|
{
|
|
[Token(Token = "0x6000C5B")]
|
|
[Address(Slot = "24")]
|
|
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: 0x17000342 RID: 834
|
|
// (get) Token: 0x06000C5C RID: 3164
|
|
[Token(Token = "0x17000342")]
|
|
public abstract string LocalName
|
|
{
|
|
[Token(Token = "0x6000C5C")]
|
|
[Address(Slot = "25")]
|
|
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: 0x17000343 RID: 835
|
|
// (get) Token: 0x06000C5D RID: 3165
|
|
[Token(Token = "0x17000343")]
|
|
public abstract string NamespaceURI
|
|
{
|
|
[Token(Token = "0x6000C5D")]
|
|
[Address(Slot = "26")]
|
|
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: 0x17000344 RID: 836
|
|
// (get) Token: 0x06000C5E RID: 3166
|
|
[Token(Token = "0x17000344")]
|
|
public abstract string Prefix
|
|
{
|
|
[Token(Token = "0x6000C5E")]
|
|
[Address(Slot = "27")]
|
|
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: 0x17000345 RID: 837
|
|
// (get) Token: 0x06000C5F RID: 3167 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000345")]
|
|
public virtual object UnderlyingObject
|
|
{
|
|
[Token(Token = "0x6000C5F")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "28")]
|
|
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: 0x06000C60 RID: 3168 RVA: 0x00006978 File Offset: 0x00004B78
|
|
[Token(Token = "0x6000C60")]
|
|
[Address(RVA = "0x679FE0", Offset = "0x678FE0", VA = "0x180679FE0", Slot = "29")]
|
|
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: 0x06000C61 RID: 3169
|
|
[Token(Token = "0x6000C61")]
|
|
[Address(Slot = "30")]
|
|
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: 0x06000C62 RID: 3170
|
|
[Token(Token = "0x6000C62")]
|
|
[Address(Slot = "31")]
|
|
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: 0x06000C63 RID: 3171
|
|
[Token(Token = "0x6000C63")]
|
|
[Address(Slot = "32")]
|
|
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: 0x06000C64 RID: 3172
|
|
[Token(Token = "0x6000C64")]
|
|
[Address(Slot = "33")]
|
|
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: 0x17000346 RID: 838
|
|
// (get) Token: 0x06000C65 RID: 3173 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000346")]
|
|
public virtual IXmlSchemaInfo SchemaInfo
|
|
{
|
|
[Token(Token = "0x6000C65")]
|
|
[Address(RVA = "0x67A3E0", Offset = "0x6793E0", VA = "0x18067A3E0", Slot = "34")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000C66 RID: 3174 RVA: 0x00006990 File Offset: 0x00004B90
|
|
[Token(Token = "0x6000C66")]
|
|
[Address(RVA = "0x679C50", Offset = "0x678C50", VA = "0x180679C50")]
|
|
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: 0x06000C67 RID: 3175 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C67")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
protected XPathNavigator()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000671 RID: 1649
|
|
[Token(Token = "0x4000671")]
|
|
internal static readonly XPathNavigatorKeyComparer comparer;
|
|
|
|
// Token: 0x04000672 RID: 1650
|
|
[Token(Token = "0x4000672")]
|
|
internal static readonly char[] NodeTypeLetter;
|
|
|
|
// Token: 0x04000673 RID: 1651
|
|
[Token(Token = "0x4000673")]
|
|
internal static readonly char[] UniqueIdTbl;
|
|
|
|
// Token: 0x04000674 RID: 1652
|
|
[Token(Token = "0x4000674")]
|
|
internal static readonly int[] ContentKindMasks;
|
|
}
|
|
}
|