a
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Cpp2IlInjected;
|
||||
using MS.Internal.Xml.Cache;
|
||||
|
||||
namespace System.Xml.XPath
|
||||
{
|
||||
/// <summary>Provides a fast, read-only, in-memory representation of an XML document by using the XPath data model.</summary>
|
||||
// Token: 0x02000086 RID: 134
|
||||
[Token(Token = "0x2000086")]
|
||||
public class XPathDocument
|
||||
{
|
||||
// Token: 0x170001BD RID: 445
|
||||
// (get) Token: 0x0600055B RID: 1371 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170001BD")]
|
||||
internal XmlNameTable NameTable
|
||||
{
|
||||
[Token(Token = "0x600055B")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600055C RID: 1372 RVA: 0x00004248 File Offset: 0x00002448
|
||||
[Token(Token = "0x600055C")]
|
||||
[Address(RVA = "0x45D860", Offset = "0x45C660", VA = "0x18045D860")]
|
||||
internal int GetXmlNamespaceNode(out XPathNode[] pageXmlNmsp)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x0600055D RID: 1373 RVA: 0x00004260 File Offset: 0x00002460
|
||||
[Token(Token = "0x600055D")]
|
||||
[Address(RVA = "0x45D870", Offset = "0x45C670", VA = "0x18045D870")]
|
||||
internal int LookupNamespaces(XPathNode[] pageElem, int idxElem, out XPathNode[] pageNmsp)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x04000290 RID: 656
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000290")]
|
||||
private XPathNode[] pageXmlNmsp;
|
||||
|
||||
// Token: 0x04000291 RID: 657
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000291")]
|
||||
private int idxXmlNmsp;
|
||||
|
||||
// Token: 0x04000292 RID: 658
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000292")]
|
||||
private XmlNameTable nameTable;
|
||||
|
||||
// Token: 0x04000293 RID: 659
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000293")]
|
||||
private Dictionary<XPathNodeRef, XPathNodeRef> mapNmsp;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,167 @@
|
||||
using System;
|
||||
using System.Xml.Schema;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Xml.XPath
|
||||
{
|
||||
/// <summary>Represents an item in the XQuery 1.0 and XPath 2.0 Data Model.</summary>
|
||||
// Token: 0x02000087 RID: 135
|
||||
[Token(Token = "0x2000087")]
|
||||
public abstract class XPathItem
|
||||
{
|
||||
/// <summary>When overridden in a derived class, gets the <see cref="T:System.Xml.Schema.XmlSchemaType" /> for the item.</summary>
|
||||
/// <returns>The <see cref="T:System.Xml.Schema.XmlSchemaType" /> for the item.</returns>
|
||||
// Token: 0x170001BE RID: 446
|
||||
// (get) Token: 0x0600055E RID: 1374
|
||||
[Token(Token = "0x170001BE")]
|
||||
public abstract XmlSchemaType XmlType
|
||||
{
|
||||
[Token(Token = "0x600055E")]
|
||||
[Address(Slot = "4")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the <see langword="string" /> value of the item.</summary>
|
||||
/// <returns>The <see langword="string" /> value of the item.</returns>
|
||||
// Token: 0x170001BF RID: 447
|
||||
// (get) Token: 0x0600055F RID: 1375
|
||||
[Token(Token = "0x170001BF")]
|
||||
public abstract string Value
|
||||
{
|
||||
[Token(Token = "0x600055F")]
|
||||
[Address(Slot = "5")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the current item as a boxed object of the most appropriate .NET Framework 2.0 type according to its schema type.</summary>
|
||||
/// <returns>The current item as a boxed object of the most appropriate .NET Framework type.</returns>
|
||||
// Token: 0x170001C0 RID: 448
|
||||
// (get) Token: 0x06000560 RID: 1376
|
||||
[Token(Token = "0x170001C0")]
|
||||
public abstract object TypedValue
|
||||
{
|
||||
[Token(Token = "0x6000560")]
|
||||
[Address(Slot = "6")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the .NET Framework 2.0 type of the item.</summary>
|
||||
/// <returns>The .NET Framework type of the item. The default value is <see cref="T:System.String" />.</returns>
|
||||
// Token: 0x170001C1 RID: 449
|
||||
// (get) Token: 0x06000561 RID: 1377
|
||||
[Token(Token = "0x170001C1")]
|
||||
public abstract Type ValueType
|
||||
{
|
||||
[Token(Token = "0x6000561")]
|
||||
[Address(Slot = "7")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the item's value as a <see cref="T:System.Boolean" />.</summary>
|
||||
/// <returns>The item's value as a <see cref="T:System.Boolean" />.</returns>
|
||||
/// <exception cref="T:System.FormatException">The item's value is not in the correct format for the <see cref="T:System.Boolean" /> type.</exception>
|
||||
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.Boolean" /> is not valid.</exception>
|
||||
// Token: 0x170001C2 RID: 450
|
||||
// (get) Token: 0x06000562 RID: 1378
|
||||
[Token(Token = "0x170001C2")]
|
||||
public abstract bool ValueAsBoolean
|
||||
{
|
||||
[Token(Token = "0x6000562")]
|
||||
[Address(Slot = "8")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the item's value as a <see cref="T:System.DateTime" />.</summary>
|
||||
/// <returns>The item's value as a <see cref="T:System.DateTime" />.</returns>
|
||||
/// <exception cref="T:System.FormatException">The item's value is not in the correct format for the <see cref="T:System.DateTime" /> type.</exception>
|
||||
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.DateTime" /> is not valid.</exception>
|
||||
// Token: 0x170001C3 RID: 451
|
||||
// (get) Token: 0x06000563 RID: 1379
|
||||
[Token(Token = "0x170001C3")]
|
||||
public abstract DateTime ValueAsDateTime
|
||||
{
|
||||
[Token(Token = "0x6000563")]
|
||||
[Address(Slot = "9")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the item's value as a <see cref="T:System.Double" />.</summary>
|
||||
/// <returns>The item's value as a <see cref="T:System.Double" />.</returns>
|
||||
/// <exception cref="T:System.FormatException">The item's value is not in the correct format for the <see cref="T:System.Double" /> type.</exception>
|
||||
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.Double" /> is not valid.</exception>
|
||||
/// <exception cref="T:System.OverflowException">The attempted cast resulted in an overflow.</exception>
|
||||
// Token: 0x170001C4 RID: 452
|
||||
// (get) Token: 0x06000564 RID: 1380
|
||||
[Token(Token = "0x170001C4")]
|
||||
public abstract double ValueAsDouble
|
||||
{
|
||||
[Token(Token = "0x6000564")]
|
||||
[Address(Slot = "10")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the item's value as an <see cref="T:System.Int32" />.</summary>
|
||||
/// <returns>The item's value as an <see cref="T:System.Int32" />.</returns>
|
||||
/// <exception cref="T:System.FormatException">The item's value is not in the correct format for the <see cref="T:System.Int32" /> type.</exception>
|
||||
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.Int32" /> is not valid.</exception>
|
||||
/// <exception cref="T:System.OverflowException">The attempted cast resulted in an overflow.</exception>
|
||||
// Token: 0x170001C5 RID: 453
|
||||
// (get) Token: 0x06000565 RID: 1381
|
||||
[Token(Token = "0x170001C5")]
|
||||
public abstract int ValueAsInt
|
||||
{
|
||||
[Token(Token = "0x6000565")]
|
||||
[Address(Slot = "11")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the item's value as an <see cref="T:System.Int64" />.</summary>
|
||||
/// <returns>The item's value as an <see cref="T:System.Int64" />.</returns>
|
||||
/// <exception cref="T:System.FormatException">The item's value is not in the correct format for the <see cref="T:System.Int64" /> type.</exception>
|
||||
/// <exception cref="T:System.InvalidCastException">The attempted cast to <see cref="T:System.Int64" /> is not valid.</exception>
|
||||
/// <exception cref="T:System.OverflowException">The attempted cast resulted in an overflow.</exception>
|
||||
// Token: 0x170001C6 RID: 454
|
||||
// (get) Token: 0x06000566 RID: 1382
|
||||
[Token(Token = "0x170001C6")]
|
||||
public abstract long ValueAsLong
|
||||
{
|
||||
[Token(Token = "0x6000566")]
|
||||
[Address(Slot = "12")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Returns the item's value as the specified type.</summary>
|
||||
/// <param name="returnType">The type to return the item value as.</param>
|
||||
/// <returns>The value of the item as the type requested.</returns>
|
||||
/// <exception cref="T:System.FormatException">The item'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>
|
||||
/// <exception cref="T:System.OverflowException">The attempted cast resulted in an overflow.</exception>
|
||||
// Token: 0x06000567 RID: 1383 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000567")]
|
||||
[Address(RVA = "0x45D960", Offset = "0x45C760", VA = "0x18045D960", Slot = "13")]
|
||||
public virtual object ValueAs(Type returnType)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, returns the item's value as the type specified using the <see cref="T:System.Xml.IXmlNamespaceResolver" /> object specified to resolve namespace prefixes.</summary>
|
||||
/// <param name="returnType">The type to return the item'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 item as the type requested.</returns>
|
||||
/// <exception cref="T:System.FormatException">The item'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>
|
||||
/// <exception cref="T:System.OverflowException">The attempted cast resulted in an overflow.</exception>
|
||||
// Token: 0x06000568 RID: 1384
|
||||
[Token(Token = "0x6000568")]
|
||||
[Address(Slot = "14")]
|
||||
public abstract object ValueAs(Type returnType, IXmlNamespaceResolver nsResolver);
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.XPath.XPathItem" /> class.</summary>
|
||||
// Token: 0x06000569 RID: 1385 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000569")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected XPathItem()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Xml.XPath
|
||||
{
|
||||
/// <summary>Defines the namespace scope.</summary>
|
||||
// Token: 0x02000088 RID: 136
|
||||
[Token(Token = "0x2000088")]
|
||||
public enum XPathNamespaceScope
|
||||
{
|
||||
/// <summary>Returns all namespaces defined in the scope of the current node. This includes the xmlns:xml namespace which is always declared implicitly. The order of the namespaces returned is not defined.</summary>
|
||||
// Token: 0x04000295 RID: 661
|
||||
[Token(Token = "0x4000295")]
|
||||
All,
|
||||
/// <summary>Returns all namespaces defined in the scope of the current node, excluding the xmlns:xml namespace. The xmlns:xml namespace is always declared implicitly. The order of the namespaces returned is not defined.</summary>
|
||||
// Token: 0x04000296 RID: 662
|
||||
[Token(Token = "0x4000296")]
|
||||
ExcludeXml,
|
||||
/// <summary>Returns all namespaces that are defined locally at the current node. </summary>
|
||||
// Token: 0x04000297 RID: 663
|
||||
[Token(Token = "0x4000297")]
|
||||
Local
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,373 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Xml.XPath
|
||||
{
|
||||
// Token: 0x0200008A RID: 138
|
||||
[Token(Token = "0x200008A")]
|
||||
internal class XPathNavigatorKeyComparer : IEqualityComparer
|
||||
{
|
||||
// Token: 0x06000587 RID: 1415 RVA: 0x00004320 File Offset: 0x00002520
|
||||
[Token(Token = "0x6000587")]
|
||||
[Address(RVA = "0x45D980", Offset = "0x45C780", VA = "0x18045D980", Slot = "4")]
|
||||
bool IEqualityComparer.Equals(object obj1, object obj2)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06000588 RID: 1416 RVA: 0x00004338 File Offset: 0x00002538
|
||||
[Token(Token = "0x6000588")]
|
||||
[Address(RVA = "0x45DA70", Offset = "0x45C870", VA = "0x18045DA70", Slot = "5")]
|
||||
int IEqualityComparer.GetHashCode(object obj)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06000589 RID: 1417 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000589")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public XPathNavigatorKeyComparer()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Xml.XPath
|
||||
{
|
||||
/// <summary>Defines the XPath node types that can be returned from the <see cref="T:System.Xml.XPath.XPathNavigator" /> class.</summary>
|
||||
// Token: 0x0200008B RID: 139
|
||||
[Token(Token = "0x200008B")]
|
||||
public enum XPathNodeType
|
||||
{
|
||||
/// <summary>The root node of the XML document or node tree.</summary>
|
||||
// Token: 0x0400029D RID: 669
|
||||
[Token(Token = "0x400029D")]
|
||||
Root,
|
||||
/// <summary>An element, such as <element>.</summary>
|
||||
// Token: 0x0400029E RID: 670
|
||||
[Token(Token = "0x400029E")]
|
||||
Element,
|
||||
/// <summary>An attribute, such as id='123'.</summary>
|
||||
// Token: 0x0400029F RID: 671
|
||||
[Token(Token = "0x400029F")]
|
||||
Attribute,
|
||||
/// <summary>A namespace, such as xmlns="namespace".</summary>
|
||||
// Token: 0x040002A0 RID: 672
|
||||
[Token(Token = "0x40002A0")]
|
||||
Namespace,
|
||||
/// <summary>The text content of a node. Equivalent to the Document Object Model (DOM) Text and CDATA node types. Contains at least one character.</summary>
|
||||
// Token: 0x040002A1 RID: 673
|
||||
[Token(Token = "0x40002A1")]
|
||||
Text,
|
||||
/// <summary>A node with white space characters and xml:space set to preserve.</summary>
|
||||
// Token: 0x040002A2 RID: 674
|
||||
[Token(Token = "0x40002A2")]
|
||||
SignificantWhitespace,
|
||||
/// <summary>A node with only white space characters and no significant white space. White space characters are #x20, #x9, #xD, or #xA.</summary>
|
||||
// Token: 0x040002A3 RID: 675
|
||||
[Token(Token = "0x40002A3")]
|
||||
Whitespace,
|
||||
/// <summary>A processing instruction, such as <?pi test?>. This does not include XML declarations, which are not visible to the <see cref="T:System.Xml.XPath.XPathNavigator" /> class. </summary>
|
||||
// Token: 0x040002A4 RID: 676
|
||||
[Token(Token = "0x40002A4")]
|
||||
ProcessingInstruction,
|
||||
/// <summary>A comment, such as <!-- my comment --></summary>
|
||||
// Token: 0x040002A5 RID: 677
|
||||
[Token(Token = "0x40002A5")]
|
||||
Comment,
|
||||
/// <summary>Any of the <see cref="T:System.Xml.XPath.XPathNodeType" /> node types.</summary>
|
||||
// Token: 0x040002A6 RID: 678
|
||||
[Token(Token = "0x40002A6")]
|
||||
All
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user