Files
27Aug2021-Cpp2IL-Dump/System.Data/SqlTypes/SqlBinary.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

271 lines
14 KiB
C#

using System;
using System.Reflection;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
using Cpp2IlInjected;
namespace System.Data.SqlTypes
{
/// <summary>Represents a variable-length stream of binary data to be stored in or retrieved from a database.</summary>
// Token: 0x0200009F RID: 159
[Token(Token = "0x200009F")]
[DefaultMember("Item")]
[XmlSchemaProvider("GetXsdType")]
[Serializable]
public struct SqlBinary : INullable, IComparable, IXmlSerializable
{
// Token: 0x060008F3 RID: 2291 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x60008F3")]
[Address(RVA = "0x9F88E0", Offset = "0x9F78E0", VA = "0x1809F88E0")]
private SqlBinary(bool fNull)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Data.SqlTypes.SqlBinary" /> structure, setting the <see cref="P:System.Data.SqlTypes.SqlBinary.Value" /> property to the contents of the supplied byte array.</summary>
/// <param name="value">The byte array to be stored or retrieved.</param>
// Token: 0x060008F4 RID: 2292 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x60008F4")]
[Address(RVA = "0x9F88F0", Offset = "0x9F78F0", VA = "0x1809F88F0")]
public SqlBinary(byte[] value)
{
}
/// <summary>Indicates whether this <see cref="T:System.Data.SqlTypes.SqlBinary" /> structure is null. This property is read-only.</summary>
/// <returns>
/// <see langword="true" /> if <see langword="null" />; otherwise, <see langword="false" />.</returns>
// Token: 0x1700016B RID: 363
// (get) Token: 0x060008F5 RID: 2293 RVA: 0x00005024 File Offset: 0x00003224
[Token(Token = "0x1700016B")]
public bool IsNull
{
[Token(Token = "0x60008F5")]
[Address(RVA = "0x8BCFA0", Offset = "0x8BBFA0", VA = "0x1808BCFA0", Slot = "4")]
get
{
return default(bool);
}
}
/// <summary>Gets the value of the <see cref="T:System.Data.SqlTypes.SqlBinary" /> structure. This property is read-only.</summary>
/// <returns>The value of the <see cref="T:System.Data.SqlTypes.SqlBinary" /> structure.</returns>
/// <exception cref="T:System.Data.SqlTypes.SqlNullValueException">The <see cref="P:System.Data.SqlTypes.SqlBinary.Value" /> property is read when the property contains <see cref="F:System.Data.SqlTypes.SqlBinary.Null" />.</exception>
// Token: 0x1700016C RID: 364
// (get) Token: 0x060008F6 RID: 2294 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700016C")]
public byte[] Value
{
[Token(Token = "0x60008F6")]
[Address(RVA = "0x9F8960", Offset = "0x9F7960", VA = "0x1809F8960")]
get
{
return null;
}
}
/// <summary>Converts an array of bytes to a <see cref="T:System.Data.SqlTypes.SqlBinary" /> structure.</summary>
/// <param name="x">The array of bytes to be converted.</param>
/// <returns>A <see cref="T:System.Data.SqlTypes.SqlBinary" /> structure that represents the converted array of bytes.</returns>
// Token: 0x060008F7 RID: 2295 RVA: 0x0000503C File Offset: 0x0000323C
[Token(Token = "0x60008F7")]
[Address(RVA = "0x9F8BC0", Offset = "0x9F7BC0", VA = "0x1809F8BC0")]
public static implicit operator SqlBinary(byte[] x)
{
return default(SqlBinary);
}
/// <summary>Converts this <see cref="T:System.Data.SqlTypes.SqlBinary" /> object to a string.</summary>
/// <returns>A string that contains the <see cref="P:System.Data.SqlTypes.SqlBinary.Value" /> of the <see cref="T:System.Data.SqlTypes.SqlBinary" />. If the <see cref="P:System.Data.SqlTypes.SqlBinary.Value" /> is null the string will contain "null".</returns>
// Token: 0x060008F8 RID: 2296 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60008F8")]
[Address(RVA = "0x9F87E0", Offset = "0x9F77E0", VA = "0x1809F87E0", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x060008F9 RID: 2297 RVA: 0x00005054 File Offset: 0x00003254
[Token(Token = "0x60008F9")]
[Address(RVA = "0x9F84A0", Offset = "0x9F74A0", VA = "0x1809F84A0")]
private static EComparison PerformCompareByte(byte[] x, byte[] y)
{
return EComparison.LT;
}
/// <summary>Compares two <see cref="T:System.Data.SqlTypes.SqlBinary" /> structures to determine whether they are equal.</summary>
/// <param name="x">A <see cref="T:System.Data.SqlTypes.SqlBinary" /> object.</param>
/// <param name="y">A <see cref="T:System.Data.SqlTypes.SqlBinary" /> object.</param>
/// <returns>A <see cref="T:System.Data.SqlTypes.SqlBoolean" /> that is <see cref="F:System.Data.SqlTypes.SqlBoolean.True" /> if the two instances are equal or <see cref="F:System.Data.SqlTypes.SqlBoolean.False" /> if the two instances are not equal. If either instance of <see cref="T:System.Data.SqlTypes.SqlBinary" /> is null, the <see cref="P:System.Data.SqlTypes.SqlBoolean.Value" /> of the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> will be <see cref="F:System.Data.SqlTypes.SqlBoolean.Null" />.</returns>
// Token: 0x060008FA RID: 2298 RVA: 0x0000506C File Offset: 0x0000326C
[Token(Token = "0x60008FA")]
[Address(RVA = "0x9F8A00", Offset = "0x9F7A00", VA = "0x1809F8A00")]
public static SqlBoolean operator ==(SqlBinary x, SqlBinary y)
{
return default(SqlBoolean);
}
/// <summary>Compares two <see cref="T:System.Data.SqlTypes.SqlBinary" /> structures to determine whether the first is less than the second.</summary>
/// <param name="x">A <see cref="T:System.Data.SqlTypes.SqlBinary" /> object.</param>
/// <param name="y">A <see cref="T:System.Data.SqlTypes.SqlBinary" /> object.</param>
/// <returns>A <see cref="T:System.Data.SqlTypes.SqlBoolean" /> that is <see cref="F:System.Data.SqlTypes.SqlBoolean.True" /> if the first instance is less than the second instance. Otherwise <see cref="F:System.Data.SqlTypes.SqlBoolean.False" />. If either instance of <see cref="T:System.Data.SqlTypes.SqlBinary" /> is null, the <see cref="P:System.Data.SqlTypes.SqlBoolean.Value" /> of the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> will be <see cref="F:System.Data.SqlTypes.SqlBoolean.Null" />.</returns>
// Token: 0x060008FB RID: 2299 RVA: 0x00005084 File Offset: 0x00003284
[Token(Token = "0x60008FB")]
[Address(RVA = "0x9F8C30", Offset = "0x9F7C30", VA = "0x1809F8C30")]
public static SqlBoolean operator <(SqlBinary x, SqlBinary y)
{
return default(SqlBoolean);
}
/// <summary>Compares two <see cref="T:System.Data.SqlTypes.SqlBinary" /> structures to determine whether the first is greater than the second.</summary>
/// <param name="x">A <see cref="T:System.Data.SqlTypes.SqlBinary" /> object.</param>
/// <param name="y">A <see cref="T:System.Data.SqlTypes.SqlBinary" /> object.</param>
/// <returns>A <see cref="T:System.Data.SqlTypes.SqlBoolean" /> that is <see cref="F:System.Data.SqlTypes.SqlBoolean.True" /> if the first instance is greater than the second instance. Otherwise <see cref="F:System.Data.SqlTypes.SqlBoolean.False" />. If either instance of <see cref="T:System.Data.SqlTypes.SqlBinary" /> is null, the <see cref="P:System.Data.SqlTypes.SqlBoolean.Value" /> of the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> will be <see cref="F:System.Data.SqlTypes.SqlBoolean.Null" />.</returns>
// Token: 0x060008FC RID: 2300 RVA: 0x0000509C File Offset: 0x0000329C
[Token(Token = "0x60008FC")]
[Address(RVA = "0x9F8AE0", Offset = "0x9F7AE0", VA = "0x1809F8AE0")]
public static SqlBoolean operator >(SqlBinary x, SqlBinary y)
{
return default(SqlBoolean);
}
/// <summary>Compares this <see cref="T:System.Data.SqlTypes.SqlBinary" /> object to the supplied object and returns an indication of their relative values.</summary>
/// <param name="value">The object to be compared to this <see cref="T:System.Data.SqlTypes.SqlBinary" /> structure.</param>
/// <returns>A signed number that indicates the relative values of this <see cref="T:System.Data.SqlTypes.SqlBinary" /> structure and the object.
/// Return value
///
/// Condition
///
/// Less than zero
///
/// The value of this <see cref="T:System.Data.SqlTypes.SqlBinary" /> object is less than the object.
///
/// Zero
///
/// This <see cref="T:System.Data.SqlTypes.SqlBinary" /> object is the same as object.
///
/// Greater than zero
///
/// This <see cref="T:System.Data.SqlTypes.SqlBinary" /> object is greater than object.
///
/// -or-
///
/// The object is a null reference.</returns>
// Token: 0x060008FD RID: 2301 RVA: 0x000050B4 File Offset: 0x000032B4
[Token(Token = "0x60008FD")]
[Address(RVA = "0x9F7FE0", Offset = "0x9F6FE0", VA = "0x1809F7FE0", Slot = "5")]
public int CompareTo(object value)
{
return 0;
}
/// <summary>Compares this <see cref="T:System.Data.SqlTypes.SqlBinary" /> object to the supplied <see cref="T:System.Data.SqlTypes.SqlBinary" /> object and returns an indication of their relative values.</summary>
/// <param name="value">The <see cref="T:System.Data.SqlTypes.SqlBinary" /> object to be compared to this <see cref="T:System.Data.SqlTypes.SqlBinary" /> structure.</param>
/// <returns>A signed number that indicates the relative values of this <see cref="T:System.Data.SqlTypes.SqlBinary" /> structure and the object.
/// Return value
///
/// Condition
///
/// Less than zero
///
/// The value of this <see cref="T:System.Data.SqlTypes.SqlBinary" /> object is less than the object.
///
/// Zero
///
/// This <see cref="T:System.Data.SqlTypes.SqlBinary" /> object is the same as object.
///
/// Greater than zero
///
/// This <see cref="T:System.Data.SqlTypes.SqlBinary" /> object is greater than object.
///
/// -or-
///
/// The object is a null reference.</returns>
// Token: 0x060008FE RID: 2302 RVA: 0x000050CC File Offset: 0x000032CC
[Token(Token = "0x60008FE")]
[Address(RVA = "0x9F7D50", Offset = "0x9F6D50", VA = "0x1809F7D50")]
public int CompareTo(SqlBinary value)
{
return 0;
}
/// <summary>Compares the supplied object parameter to the <see cref="P:System.Data.SqlTypes.SqlBinary.Value" /> property of the <see cref="T:System.Data.SqlTypes.SqlBinary" /> object.</summary>
/// <param name="value">The object to be compared.</param>
/// <returns>
/// <see langword="true" /> if object is an instance of <see cref="T:System.Data.SqlTypes.SqlBinary" /> and the two are equal; otherwise <see langword="false" />.</returns>
// Token: 0x060008FF RID: 2303 RVA: 0x000050E4 File Offset: 0x000032E4
[Token(Token = "0x60008FF")]
[Address(RVA = "0x9F80E0", Offset = "0x9F70E0", VA = "0x1809F80E0", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
// Token: 0x06000900 RID: 2304 RVA: 0x000050FC File Offset: 0x000032FC
[Token(Token = "0x6000900")]
[Address(RVA = "0x9F8430", Offset = "0x9F7430", VA = "0x1809F8430")]
internal static int HashByteArray(byte[] rgbValue, int length)
{
return 0;
}
/// <summary>Returns the hash code for this <see cref="T:System.Data.SqlTypes.SqlBinary" /> structure.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x06000901 RID: 2305 RVA: 0x00005114 File Offset: 0x00003314
[Token(Token = "0x6000901")]
[Address(RVA = "0x9F82E0", Offset = "0x9F72E0", VA = "0x1809F82E0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <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" /> instance.</returns>
// Token: 0x06000902 RID: 2306 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000902")]
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "6")]
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="reader">A <see cref="T:System.Xml.XmlReader" />.</param>
// Token: 0x06000903 RID: 2307 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000903")]
[Address(RVA = "0x9F85C0", Offset = "0x9F75C0", VA = "0x1809F85C0", Slot = "7")]
void IXmlSerializable.ReadXml(XmlReader reader)
{
}
/// <summary>For a description of this member, see <see cref="M:System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter)" />.</summary>
/// <param name="writer">A <see cref="T:System.Xml.XmlWriter" />.</param>
// Token: 0x06000904 RID: 2308 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000904")]
[Address(RVA = "0x9F8710", Offset = "0x9F7710", VA = "0x1809F8710", Slot = "8")]
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 <see langword="string" /> that indicates the XSD of the specified <see cref="T:System.Xml.Schema.XmlSchemaSet" />.</returns>
// Token: 0x06000905 RID: 2309 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000905")]
[Address(RVA = "0x9F83D0", Offset = "0x9F73D0", VA = "0x1809F83D0")]
public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet)
{
return null;
}
// Token: 0x04000345 RID: 837
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000345")]
private byte[] _value;
/// <summary>Represents a <see cref="T:System.DBNull" /> that can be assigned to this instance of the <see cref="T:System.Data.SqlTypes.SqlBinary" /> structure.</summary>
// Token: 0x04000346 RID: 838
[Token(Token = "0x4000346")]
public static readonly SqlBinary Null;
}
}