362 lines
15 KiB
C#
362 lines
15 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Xml.XPath;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Xml.Schema
|
|
{
|
|
/// <summary>Represents the typed value of a validated XML element or attribute. The <see cref="T:System.Xml.Schema.XmlAtomicValue" /> class cannot be inherited.</summary>
|
|
// Token: 0x02000106 RID: 262
|
|
[Token(Token = "0x2000106")]
|
|
public sealed class XmlAtomicValue : XPathItem, ICloneable
|
|
{
|
|
// Token: 0x0600082F RID: 2095 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600082F")]
|
|
[Address(RVA = "0x56E970", Offset = "0x56D770", VA = "0x18056E970")]
|
|
internal XmlAtomicValue(XmlSchemaType xmlType, bool value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000830 RID: 2096 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000830")]
|
|
[Address(RVA = "0x56E760", Offset = "0x56D560", VA = "0x18056E760")]
|
|
internal XmlAtomicValue(XmlSchemaType xmlType, DateTime value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000831 RID: 2097 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000831")]
|
|
[Address(RVA = "0x56EC80", Offset = "0x56DA80", VA = "0x18056EC80")]
|
|
internal XmlAtomicValue(XmlSchemaType xmlType, double value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000832 RID: 2098 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000832")]
|
|
[Address(RVA = "0x56EA10", Offset = "0x56D810", VA = "0x18056EA10")]
|
|
internal XmlAtomicValue(XmlSchemaType xmlType, int value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000833 RID: 2099 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000833")]
|
|
[Address(RVA = "0x56E8D0", Offset = "0x56D6D0", VA = "0x18056E8D0")]
|
|
internal XmlAtomicValue(XmlSchemaType xmlType, long value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000834 RID: 2100 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000834")]
|
|
[Address(RVA = "0x56ED20", Offset = "0x56DB20", VA = "0x18056ED20")]
|
|
internal XmlAtomicValue(XmlSchemaType xmlType, string value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000835 RID: 2101 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000835")]
|
|
[Address(RVA = "0x56EAB0", Offset = "0x56D8B0", VA = "0x18056EAB0")]
|
|
internal XmlAtomicValue(XmlSchemaType xmlType, string value, IXmlNamespaceResolver nsResolver)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000836 RID: 2102 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000836")]
|
|
[Address(RVA = "0x56E800", Offset = "0x56D600", VA = "0x18056E800")]
|
|
internal XmlAtomicValue(XmlSchemaType xmlType, object value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000837 RID: 2103 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000837")]
|
|
[Address(RVA = "0x56EDF0", Offset = "0x56DBF0", VA = "0x18056EDF0")]
|
|
internal XmlAtomicValue(XmlSchemaType xmlType, object value, IXmlNamespaceResolver nsResolver)
|
|
{
|
|
}
|
|
|
|
/// <summary>For a description of this member, see <see cref="M:System.Xml.Schema.XmlAtomicValue.Clone" />.</summary>
|
|
/// <returns>Returns a copy of this <see cref="T:System.Xml.Schema.XmlAtomicValue" /> object.</returns>
|
|
// Token: 0x06000838 RID: 2104 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000838")]
|
|
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0", Slot = "15")]
|
|
object ICloneable.Clone()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Xml.Schema.XmlSchemaType" /> for the validated XML element or attribute.</summary>
|
|
/// <returns>The <see cref="T:System.Xml.Schema.XmlSchemaType" /> for the validated XML element or attribute.</returns>
|
|
// Token: 0x170002EA RID: 746
|
|
// (get) Token: 0x06000839 RID: 2105 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170002EA")]
|
|
public override XmlSchemaType XmlType
|
|
{
|
|
[Token(Token = "0x6000839")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the Microsoft .NET Framework type of the validated XML element or attribute.</summary>
|
|
/// <returns>The .NET Framework type of the validated XML element or attribute. The default value is <see cref="T:System.String" />.</returns>
|
|
// Token: 0x170002EB RID: 747
|
|
// (get) Token: 0x0600083A RID: 2106 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170002EB")]
|
|
public override Type ValueType
|
|
{
|
|
[Token(Token = "0x600083A")]
|
|
[Address(RVA = "0x56F670", Offset = "0x56E470", VA = "0x18056F670", Slot = "7")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the current validated XML element or attribute as a boxed object of the most appropriate Microsoft .NET Framework type according to its schema type.</summary>
|
|
/// <returns>The current validated XML element or attribute as a boxed object of the most appropriate .NET Framework type.</returns>
|
|
// Token: 0x170002EC RID: 748
|
|
// (get) Token: 0x0600083B RID: 2107 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170002EC")]
|
|
public override object TypedValue
|
|
{
|
|
[Token(Token = "0x600083B")]
|
|
[Address(RVA = "0x56EF80", Offset = "0x56DD80", VA = "0x18056EF80", Slot = "6")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the validated XML element or attribute's value as a <see cref="T:System.Boolean" />.</summary>
|
|
/// <returns>The validated XML element or attribute's value as a <see cref="T:System.Boolean" />.</returns>
|
|
/// <exception cref="T:System.FormatException">The validated XML element or attribute'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: 0x170002ED RID: 749
|
|
// (get) Token: 0x0600083C RID: 2108 RVA: 0x00005538 File Offset: 0x00003738
|
|
[Token(Token = "0x170002ED")]
|
|
public override bool ValueAsBoolean
|
|
{
|
|
[Token(Token = "0x600083C")]
|
|
[Address(RVA = "0x56F170", Offset = "0x56DF70", VA = "0x18056F170", Slot = "8")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the validated XML element or attribute's value as a <see cref="T:System.DateTime" />.</summary>
|
|
/// <returns>The validated XML element or attribute's value as a <see cref="T:System.DateTime" />.</returns>
|
|
/// <exception cref="T:System.FormatException">The validated XML element or attribute'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: 0x170002EE RID: 750
|
|
// (get) Token: 0x0600083D RID: 2109 RVA: 0x00005550 File Offset: 0x00003750
|
|
[Token(Token = "0x170002EE")]
|
|
public override DateTime ValueAsDateTime
|
|
{
|
|
[Token(Token = "0x600083D")]
|
|
[Address(RVA = "0x56F270", Offset = "0x56E070", VA = "0x18056F270", Slot = "9")]
|
|
get
|
|
{
|
|
return default(DateTime);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the validated XML element or attribute's value as a <see cref="T:System.Double" />.</summary>
|
|
/// <returns>The validated XML element or attribute's value as a <see cref="T:System.Double" />.</returns>
|
|
/// <exception cref="T:System.FormatException">The validated XML element or attribute'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: 0x170002EF RID: 751
|
|
// (get) Token: 0x0600083E RID: 2110 RVA: 0x00005568 File Offset: 0x00003768
|
|
[Token(Token = "0x170002EF")]
|
|
public override double ValueAsDouble
|
|
{
|
|
[Token(Token = "0x600083E")]
|
|
[Address(RVA = "0x56F370", Offset = "0x56E170", VA = "0x18056F370", Slot = "10")]
|
|
get
|
|
{
|
|
return 0.0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the validated XML element or attribute's value as an <see cref="T:System.Int32" />.</summary>
|
|
/// <returns>The validated XML element or attribute's value as an <see cref="T:System.Int32" />.</returns>
|
|
/// <exception cref="T:System.FormatException">The validated XML element or attribute'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: 0x170002F0 RID: 752
|
|
// (get) Token: 0x0600083F RID: 2111 RVA: 0x00005580 File Offset: 0x00003780
|
|
[Token(Token = "0x170002F0")]
|
|
public override int ValueAsInt
|
|
{
|
|
[Token(Token = "0x600083F")]
|
|
[Address(RVA = "0x56F470", Offset = "0x56E270", VA = "0x18056F470", Slot = "11")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the validated XML element or attribute's value as an <see cref="T:System.Int64" />.</summary>
|
|
/// <returns>The validated XML element or attribute's value as an <see cref="T:System.Int64" />.</returns>
|
|
/// <exception cref="T:System.FormatException">The validated XML element or attribute'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: 0x170002F1 RID: 753
|
|
// (get) Token: 0x06000840 RID: 2112 RVA: 0x00005598 File Offset: 0x00003798
|
|
[Token(Token = "0x170002F1")]
|
|
public override long ValueAsLong
|
|
{
|
|
[Token(Token = "0x6000840")]
|
|
[Address(RVA = "0x56F570", Offset = "0x56E370", VA = "0x18056F570", Slot = "12")]
|
|
get
|
|
{
|
|
return 0L;
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns the validated XML element or attribute's value as the type specified using the <see cref="T:System.Xml.IXmlNamespaceResolver" /> object specified to resolve namespace prefixes.</summary>
|
|
/// <param name="type">The type to return the validated XML element or attribute'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 validated XML element or attribute as the type requested.</returns>
|
|
/// <exception cref="T:System.FormatException">The validated XML element or attribute'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: 0x06000841 RID: 2113 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000841")]
|
|
[Address(RVA = "0x56E540", Offset = "0x56D340", VA = "0x18056E540", Slot = "14")]
|
|
public override object ValueAs(Type type, IXmlNamespaceResolver nsResolver)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the <see langword="string" /> value of the validated XML element or attribute.</summary>
|
|
/// <returns>The <see langword="string" /> value of the validated XML element or attribute.</returns>
|
|
// Token: 0x170002F2 RID: 754
|
|
// (get) Token: 0x06000842 RID: 2114 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170002F2")]
|
|
public override string Value
|
|
{
|
|
[Token(Token = "0x6000842")]
|
|
[Address(RVA = "0x56F6B0", Offset = "0x56E4B0", VA = "0x18056F6B0", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see langword="string" /> value of the validated XML element or attribute.</summary>
|
|
/// <returns>The <see langword="string" /> value of the validated XML element or attribute.</returns>
|
|
// Token: 0x06000843 RID: 2115 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000843")]
|
|
[Address(RVA = "0x45E0C0", Offset = "0x45CEC0", VA = "0x18045E0C0", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000844 RID: 2116 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000844")]
|
|
[Address(RVA = "0x56E490", Offset = "0x56D290", VA = "0x18056E490")]
|
|
private string GetPrefixFromQName(string value)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x040003F9 RID: 1017
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40003F9")]
|
|
private XmlSchemaType xmlType;
|
|
|
|
// Token: 0x040003FA RID: 1018
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40003FA")]
|
|
private object objVal;
|
|
|
|
// Token: 0x040003FB RID: 1019
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40003FB")]
|
|
private TypeCode clrType;
|
|
|
|
// Token: 0x040003FC RID: 1020
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40003FC")]
|
|
private XmlAtomicValue.Union unionVal;
|
|
|
|
// Token: 0x040003FD RID: 1021
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40003FD")]
|
|
private XmlAtomicValue.NamespacePrefixForQName nsPrefix;
|
|
|
|
// Token: 0x02000107 RID: 263
|
|
[Token(Token = "0x2000107")]
|
|
[StructLayout(2)]
|
|
private struct Union
|
|
{
|
|
// Token: 0x040003FE RID: 1022
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40003FE")]
|
|
public bool boolVal;
|
|
|
|
// Token: 0x040003FF RID: 1023
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40003FF")]
|
|
public double dblVal;
|
|
|
|
// Token: 0x04000400 RID: 1024
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4000400")]
|
|
public long i64Val;
|
|
|
|
// Token: 0x04000401 RID: 1025
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4000401")]
|
|
public int i32Val;
|
|
|
|
// Token: 0x04000402 RID: 1026
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4000402")]
|
|
public DateTime dtVal;
|
|
}
|
|
|
|
// Token: 0x02000108 RID: 264
|
|
[Token(Token = "0x2000108")]
|
|
private class NamespacePrefixForQName : IXmlNamespaceResolver
|
|
{
|
|
// Token: 0x06000845 RID: 2117 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000845")]
|
|
[Address(RVA = "0x562ED0", Offset = "0x561CD0", VA = "0x180562ED0")]
|
|
public NamespacePrefixForQName(string prefix, string ns)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000846 RID: 2118 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000846")]
|
|
[Address(RVA = "0x562E60", Offset = "0x561C60", VA = "0x180562E60", Slot = "4")]
|
|
public string LookupNamespace(string prefix)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000847 RID: 2119 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000847")]
|
|
[Address(RVA = "0x562EA0", Offset = "0x561CA0", VA = "0x180562EA0", Slot = "5")]
|
|
public string LookupPrefix(string namespaceName)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x04000403 RID: 1027
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000403")]
|
|
public string prefix;
|
|
|
|
// Token: 0x04000404 RID: 1028
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000404")]
|
|
public string ns;
|
|
}
|
|
}
|
|
}
|