Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

165 lines
6.6 KiB
C#

using System;
using System.IO;
using System.Reflection;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
using Cpp2IlInjected;
namespace System.Data.SqlTypes
{
/// <summary>Represents XML data stored in or retrieved from a server.</summary>
// Token: 0x020000B5 RID: 181
[Token(Token = "0x20000B5")]
[XmlSchemaProvider("GetXsdType")]
[Serializable]
public sealed class SqlXml : INullable, IXmlSerializable
{
/// <summary>Creates a new <see cref="T:System.Data.SqlTypes.SqlXml" /> instance.</summary>
// Token: 0x06000AC4 RID: 2756 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000AC4")]
[Address(RVA = "0xBDCC60", Offset = "0xBDBC60", VA = "0x180BDCC60")]
public SqlXml()
{
}
/// <summary>Gets the value of the XML content of this <see cref="T:System.Data.SqlTypes.SqlXml" /> as a <see cref="T:System.Xml.XmlReader" />.</summary>
/// <returns>A <see cref="T:System.Xml.XmlReader" />-derived instance that contains the XML content. The actual type may vary (for example, the return value might be <see cref="T:System.Xml.XmlTextReader" />) depending on how the information is represented internally, on the server.</returns>
/// <exception cref="T:System.Data.SqlTypes.SqlNullValueException">Attempt was made to access this property on a null instance of <see cref="T:System.Data.SqlTypes.SqlXml" />.</exception>
// Token: 0x06000AC5 RID: 2757 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC5")]
[Address(RVA = "0xBDC3A0", Offset = "0xBDB3A0", VA = "0x180BDC3A0")]
public XmlReader CreateReader()
{
return null;
}
// Token: 0x06000AC6 RID: 2758 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC6")]
[Address(RVA = "0xBDC610", Offset = "0xBDB610", VA = "0x180BDC610")]
internal static XmlReader CreateSqlXmlReader(Stream stream, bool closeInput = false, bool throwTargetInvocationExceptions = false)
{
return null;
}
// Token: 0x06000AC7 RID: 2759 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC7")]
[Address(RVA = "0xBDC540", Offset = "0xBDB540", VA = "0x180BDC540")]
private static Func<Stream, XmlReaderSettings, XmlParserContext, XmlReader> CreateSqlReaderDelegate()
{
return null;
}
// Token: 0x17000199 RID: 409
// (get) Token: 0x06000AC8 RID: 2760 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000199")]
private static MethodInfo CreateSqlReaderMethodInfo
{
[Token(Token = "0x6000AC8")]
[Address(RVA = "0xBDCC90", Offset = "0xBDBC90", VA = "0x180BDCC90")]
get
{
return null;
}
}
/// <summary>Indicates whether this instance represents a null <see cref="T:System.Data.SqlTypes.SqlXml" /> value.</summary>
/// <returns>
/// <see langword="true" /> if <see langword="Value" /> is null. Otherwise, <see langword="false" />.</returns>
// Token: 0x1700019A RID: 410
// (get) Token: 0x06000AC9 RID: 2761 RVA: 0x00006B3C File Offset: 0x00004D3C
[Token(Token = "0x1700019A")]
public bool IsNull
{
[Token(Token = "0x6000AC9")]
[Address(RVA = "0xBDAEF0", Offset = "0xBD9EF0", VA = "0x180BDAEF0", Slot = "4")]
get
{
return default(bool);
}
}
// Token: 0x06000ACA RID: 2762 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000ACA")]
[Address(RVA = "0xBDC800", Offset = "0xBDB800", VA = "0x180BDC800")]
private void SetNull()
{
}
/// <summary>For a description of this member, see <see cref="M:System.Xml.Serialization.IXmlSerializable.GetSchema" />.</summary>
/// <returns>An <see cref="T:System.Xml.Schema.XmlSchema" /> that describes the XML representation of the object that is produced by the <see cref="M:System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter)" /> method and consumed by the <see cref="M:System.Xml.Serialization.IXmlSerializable.ReadXml(System.Xml.XmlReader)" /> method.</returns>
// Token: 0x06000ACB RID: 2763 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000ACB")]
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "5")]
XmlSchema IXmlSerializable.GetSchema()
{
return null;
}
/// <summary>For a description of this member, see <see cref="M:System.Xml.Serialization.IXmlSerializable.ReadXml(System.Xml.XmlReader)" />.</summary>
/// <param name="r">An XmlReader.</param>
// Token: 0x06000ACC RID: 2764 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000ACC")]
[Address(RVA = "0xBDC820", Offset = "0xBDB820", VA = "0x180BDC820", Slot = "6")]
void IXmlSerializable.ReadXml(XmlReader r)
{
}
/// <summary>For a description of this member, see <see cref="M:System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter)" />.</summary>
/// <param name="writer">An XmlWriter</param>
// Token: 0x06000ACD RID: 2765 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000ACD")]
[Address(RVA = "0xBDC9C0", Offset = "0xBDB9C0", VA = "0x180BDC9C0", Slot = "7")]
void IXmlSerializable.WriteXml(XmlWriter writer)
{
}
/// <summary>Returns the XML Schema definition language (XSD) of the specified <see cref="T:System.Xml.Schema.XmlSchemaSet" />.</summary>
/// <param name="schemaSet">An <see cref="T:System.Xml.Schema.XmlSchemaSet" />.</param>
/// <returns>A string that indicates the XSD of the specified <see cref="T:System.Xml.Schema.XmlSchemaSet" />.</returns>
// Token: 0x06000ACE RID: 2766 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000ACE")]
[Address(RVA = "0xBDC7A0", Offset = "0xBDB7A0", VA = "0x180BDC7A0")]
public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet)
{
return null;
}
// Token: 0x0400040E RID: 1038
[Token(Token = "0x400040E")]
private static readonly Func<Stream, XmlReaderSettings, XmlParserContext, XmlReader> s_sqlReaderDelegate;
// Token: 0x0400040F RID: 1039
[Token(Token = "0x400040F")]
private static readonly XmlReaderSettings s_defaultXmlReaderSettings;
// Token: 0x04000410 RID: 1040
[Token(Token = "0x4000410")]
private static readonly XmlReaderSettings s_defaultXmlReaderSettingsCloseInput;
// Token: 0x04000411 RID: 1041
[Token(Token = "0x4000411")]
private static MethodInfo s_createSqlReaderMethodInfo;
// Token: 0x04000412 RID: 1042
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000412")]
private MethodInfo _createSqlReaderMethodInfo;
// Token: 0x04000413 RID: 1043
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000413")]
private bool _fNotNull;
// Token: 0x04000414 RID: 1044
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000414")]
private Stream _stream;
// Token: 0x04000415 RID: 1045
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000415")]
private bool _firstCreateReader;
}
}