371 lines
17 KiB
C#
371 lines
17 KiB
C#
using System;
|
|
using System.Xml;
|
|
using System.Xml.Schema;
|
|
using System.Xml.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Data.SqlTypes
|
|
{
|
|
/// <summary>Represents an integer value that is either 1 or 0 to be stored in or retrieved from a database.</summary>
|
|
// Token: 0x020000A0 RID: 160
|
|
[Token(Token = "0x20000A0")]
|
|
[XmlSchemaProvider("GetXsdType")]
|
|
[Serializable]
|
|
public struct SqlBoolean : INullable, IComparable, IXmlSerializable
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure using the supplied Boolean value.</summary>
|
|
/// <param name="value">The value for the new <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure; either <see langword="true" /> or <see langword="false" />.</param>
|
|
// Token: 0x06000907 RID: 2311 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000907")]
|
|
[Address(RVA = "0x9F9760", Offset = "0x9F8760", VA = "0x1809F9760")]
|
|
public SqlBoolean(bool value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure using the specified integer value.</summary>
|
|
/// <param name="value">The integer whose value is to be used for the new <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</param>
|
|
// Token: 0x06000908 RID: 2312 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000908")]
|
|
[Address(RVA = "0x9F9750", Offset = "0x9F8750", VA = "0x1809F9750")]
|
|
public SqlBoolean(int value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000909 RID: 2313 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000909")]
|
|
[Address(RVA = "0x9F9770", Offset = "0x9F8770", VA = "0x1809F9770")]
|
|
private SqlBoolean(int value, bool fNull)
|
|
{
|
|
}
|
|
|
|
/// <summary>Indicates whether this <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure is null.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure is null; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x1700016D RID: 365
|
|
// (get) Token: 0x0600090A RID: 2314 RVA: 0x0000512C File Offset: 0x0000332C
|
|
[Token(Token = "0x1700016D")]
|
|
public bool IsNull
|
|
{
|
|
[Token(Token = "0x600090A")]
|
|
[Address(RVA = "0x8BD410", Offset = "0x8BC410", VA = "0x1808BD410", Slot = "4")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure's value. This property is read-only.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> is <see cref="F:System.Data.SqlTypes.SqlBoolean.True" />; otherwise, <see langword="false" />.</returns>
|
|
/// <exception cref="T:System.Data.SqlTypes.SqlNullValueException">The property is set to null.</exception>
|
|
// Token: 0x1700016E RID: 366
|
|
// (get) Token: 0x0600090B RID: 2315 RVA: 0x00005144 File Offset: 0x00003344
|
|
[Token(Token = "0x1700016E")]
|
|
public bool Value
|
|
{
|
|
[Token(Token = "0x600090B")]
|
|
[Address(RVA = "0x9F9810", Offset = "0x9F8810", VA = "0x1809F9810")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value that indicates whether the current <see cref="P:System.Data.SqlTypes.SqlBoolean.Value" /> is <see cref="F:System.Data.SqlTypes.SqlBoolean.True" />.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if <see langword="Value" /> is <see langword="true" />; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x1700016F RID: 367
|
|
// (get) Token: 0x0600090C RID: 2316 RVA: 0x0000515C File Offset: 0x0000335C
|
|
[Token(Token = "0x1700016F")]
|
|
public bool IsTrue
|
|
{
|
|
[Token(Token = "0x600090C")]
|
|
[Address(RVA = "0x9F9800", Offset = "0x9F8800", VA = "0x1809F9800")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Indicates whether the current <see cref="P:System.Data.SqlTypes.SqlBoolean.Value" /> is <see cref="F:System.Data.SqlTypes.SqlBoolean.False" />.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if <see langword="Value" /> is <see langword="False" />; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x17000170 RID: 368
|
|
// (get) Token: 0x0600090D RID: 2317 RVA: 0x00005174 File Offset: 0x00003374
|
|
[Token(Token = "0x17000170")]
|
|
public bool IsFalse
|
|
{
|
|
[Token(Token = "0x600090D")]
|
|
[Address(RVA = "0x9F97F0", Offset = "0x9F87F0", VA = "0x1809F97F0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Converts the supplied byte value to a <see cref="T:System.Data.SqlTypes.SqlBoolean" />.</summary>
|
|
/// <param name="x">A byte value to be converted to <see cref="T:System.Data.SqlTypes.SqlBoolean" />.</param>
|
|
/// <returns>A <see cref="T:System.Data.SqlTypes.SqlBoolean" /> value that contains 0 or 1.</returns>
|
|
// Token: 0x0600090E RID: 2318 RVA: 0x0000518C File Offset: 0x0000338C
|
|
[Token(Token = "0x600090E")]
|
|
[Address(RVA = "0x9F9B30", Offset = "0x9F8B30", VA = "0x1809F9B30")]
|
|
public static implicit operator SqlBoolean(bool x)
|
|
{
|
|
return default(SqlBoolean);
|
|
}
|
|
|
|
/// <summary>The true operator can be used to test the <see cref="P:System.Data.SqlTypes.SqlBoolean.Value" /> of the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> to determine whether it is true.</summary>
|
|
/// <param name="x">The <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure to be tested.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the supplied parameter is <see cref="T:System.Data.SqlTypes.SqlBoolean" /> is <see langword="true" />; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x0600090F RID: 2319 RVA: 0x000051A4 File Offset: 0x000033A4
|
|
[Token(Token = "0x600090F")]
|
|
[Address(RVA = "0x9F9B40", Offset = "0x9F8B40", VA = "0x1809F9B40")]
|
|
public static bool operator true(SqlBoolean x)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Computes the bitwise AND operation of two specified <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structures.</summary>
|
|
/// <param name="x">A <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</param>
|
|
/// <param name="y">A <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</param>
|
|
/// <returns>The result of the logical AND operation.</returns>
|
|
// Token: 0x06000910 RID: 2320 RVA: 0x000051BC File Offset: 0x000033BC
|
|
[Token(Token = "0x6000910")]
|
|
[Address(RVA = "0x9F9880", Offset = "0x9F8880", VA = "0x1809F9880")]
|
|
public static SqlBoolean operator &(SqlBoolean x, SqlBoolean y)
|
|
{
|
|
return default(SqlBoolean);
|
|
}
|
|
|
|
/// <summary>Computes the bitwise OR of its operands.</summary>
|
|
/// <param name="x">A <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</param>
|
|
/// <param name="y">A <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</param>
|
|
/// <returns>The results of the logical OR operation.</returns>
|
|
// Token: 0x06000911 RID: 2321 RVA: 0x000051D4 File Offset: 0x000033D4
|
|
[Token(Token = "0x6000911")]
|
|
[Address(RVA = "0x9F9990", Offset = "0x9F8990", VA = "0x1809F9990")]
|
|
public static SqlBoolean operator |(SqlBoolean x, SqlBoolean y)
|
|
{
|
|
return default(SqlBoolean);
|
|
}
|
|
|
|
/// <summary>Gets the value of the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure as a byte.</summary>
|
|
/// <returns>A byte representing the value of the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</returns>
|
|
// Token: 0x17000171 RID: 369
|
|
// (get) Token: 0x06000912 RID: 2322 RVA: 0x000051EC File Offset: 0x000033EC
|
|
[Token(Token = "0x17000171")]
|
|
public byte ByteValue
|
|
{
|
|
[Token(Token = "0x6000912")]
|
|
[Address(RVA = "0x9F9790", Offset = "0x9F8790", VA = "0x1809F9790")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Converts this <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure to a string.</summary>
|
|
/// <returns>A string that contains the value of the <see cref="T:System.Data.SqlTypes.SqlBoolean" />. If the value is null, the string will contain "null".</returns>
|
|
// Token: 0x06000913 RID: 2323 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000913")]
|
|
[Address(RVA = "0x9F9620", Offset = "0x9F8620", VA = "0x1809F9620", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Compares two instances of <see cref="T:System.Data.SqlTypes.SqlBoolean" /> for equality.</summary>
|
|
/// <param name="x">A <see cref="T:System.Data.SqlTypes.SqlBoolean" />.</param>
|
|
/// <param name="y">A <see cref="T:System.Data.SqlTypes.SqlBoolean" />.</param>
|
|
/// <returns>
|
|
/// <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.SqlBoolean" /> 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: 0x06000914 RID: 2324 RVA: 0x00005204 File Offset: 0x00003404
|
|
[Token(Token = "0x6000914")]
|
|
[Address(RVA = "0x9F9AA0", Offset = "0x9F8AA0", VA = "0x1809F9AA0")]
|
|
public static SqlBoolean operator ==(SqlBoolean x, SqlBoolean y)
|
|
{
|
|
return default(SqlBoolean);
|
|
}
|
|
|
|
/// <summary>Computes the bitwise AND operation of two specified <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structures.</summary>
|
|
/// <param name="x">A <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</param>
|
|
/// <param name="y">A <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</param>
|
|
/// <returns>The result of the logical AND operation.</returns>
|
|
// Token: 0x06000915 RID: 2325 RVA: 0x0000521C File Offset: 0x0000341C
|
|
[Token(Token = "0x6000915")]
|
|
[Address(RVA = "0x9F8D10", Offset = "0x9F7D10", VA = "0x1809F8D10")]
|
|
public static SqlBoolean And(SqlBoolean x, SqlBoolean y)
|
|
{
|
|
return default(SqlBoolean);
|
|
}
|
|
|
|
/// <summary>Performs a bitwise OR operation on the two specified <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structures.</summary>
|
|
/// <param name="x">A <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</param>
|
|
/// <param name="y">A <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</param>
|
|
/// <returns>A new <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure whose Value is the result of the bitwise OR operation.</returns>
|
|
// Token: 0x06000916 RID: 2326 RVA: 0x00005234 File Offset: 0x00003434
|
|
[Token(Token = "0x6000916")]
|
|
[Address(RVA = "0x9F9320", Offset = "0x9F8320", VA = "0x1809F9320")]
|
|
public static SqlBoolean Or(SqlBoolean x, SqlBoolean y)
|
|
{
|
|
return default(SqlBoolean);
|
|
}
|
|
|
|
/// <summary>Compares this <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure to a specified object and returns an indication of their relative values.</summary>
|
|
/// <param name="value">An object to compare, or a null reference (<see langword="Nothing" /> in Visual Basic).</param>
|
|
/// <returns>A signed number that indicates the relative values of the instance and value.
|
|
/// Value
|
|
///
|
|
/// Description
|
|
///
|
|
/// A negative integer
|
|
///
|
|
/// This instance is less than <paramref name="value" />.
|
|
///
|
|
/// Zero
|
|
///
|
|
/// This instance is equal to <paramref name="value" />.
|
|
///
|
|
/// A positive integer
|
|
///
|
|
/// This instance is greater than <paramref name="value" />.
|
|
///
|
|
/// -or-
|
|
///
|
|
/// <paramref name="value" /> is a null reference (<see langword="Nothing" /> in Visual Basic).</returns>
|
|
// Token: 0x06000917 RID: 2327 RVA: 0x0000524C File Offset: 0x0000344C
|
|
[Token(Token = "0x6000917")]
|
|
[Address(RVA = "0x9F8E40", Offset = "0x9F7E40", VA = "0x1809F8E40", Slot = "5")]
|
|
public int CompareTo(object value)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Compares this <see cref="T:System.Data.SqlTypes.SqlBoolean" /> object to the supplied <see cref="T:System.Data.SqlTypes.SqlBoolean" /> object and returns an indication of their relative values.</summary>
|
|
/// <param name="value">A <see cref="T:System.Data.SqlTypes.SqlBoolean" /><see cref="T:System.Data.SqlTypes.SqlBoolean" /> object to compare, or a null reference (<see langword="Nothing" /> in Visual Basic).</param>
|
|
/// <returns>A signed number that indicates the relative values of the instance and value.
|
|
/// Value
|
|
///
|
|
/// Description
|
|
///
|
|
/// A negative integer
|
|
///
|
|
/// This instance is less than <paramref name="value" />.
|
|
///
|
|
/// Zero
|
|
///
|
|
/// This instance is equal to <paramref name="value" />.
|
|
///
|
|
/// A positive integer
|
|
///
|
|
/// This instance is greater than <paramref name="value" />.
|
|
///
|
|
/// -or-
|
|
///
|
|
/// <paramref name="value" /> is a null reference (<see langword="Nothing" /> in Visual Basic).</returns>
|
|
// Token: 0x06000918 RID: 2328 RVA: 0x00005264 File Offset: 0x00003464
|
|
[Token(Token = "0x6000918")]
|
|
[Address(RVA = "0x9F8F40", Offset = "0x9F7F40", VA = "0x1809F8F40")]
|
|
public int CompareTo(SqlBoolean value)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Compares the supplied object parameter to the <see cref="T:System.Data.SqlTypes.SqlBoolean" />.</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.SqlBoolean" /> and the two are equal; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06000919 RID: 2329 RVA: 0x0000527C File Offset: 0x0000347C
|
|
[Token(Token = "0x6000919")]
|
|
[Address(RVA = "0x9F9090", Offset = "0x9F8090", VA = "0x1809F9090", Slot = "0")]
|
|
public override bool Equals(object value)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Returns the hash code for this instance.</summary>
|
|
/// <returns>A 32-bit signed integer hash code.</returns>
|
|
// Token: 0x0600091A RID: 2330 RVA: 0x00005294 File Offset: 0x00003494
|
|
[Token(Token = "0x600091A")]
|
|
[Address(RVA = "0x9F9230", Offset = "0x9F8230", VA = "0x1809F9230", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.</summary>
|
|
/// <returns>An <see langword="XmlSchema" />.</returns>
|
|
// Token: 0x0600091B RID: 2331 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600091B")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "6")]
|
|
XmlSchema IXmlSerializable.GetSchema()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.</summary>
|
|
/// <param name="reader">
|
|
/// <see langword="XmlReader" />
|
|
/// </param>
|
|
// Token: 0x0600091C RID: 2332 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x600091C")]
|
|
[Address(RVA = "0x9F9450", Offset = "0x9F8450", VA = "0x1809F9450", Slot = "7")]
|
|
void IXmlSerializable.ReadXml(XmlReader reader)
|
|
{
|
|
}
|
|
|
|
/// <summary>This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.</summary>
|
|
/// <param name="writer">
|
|
/// <see langword="XmlWriter" />
|
|
/// </param>
|
|
// Token: 0x0600091D RID: 2333 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x600091D")]
|
|
[Address(RVA = "0x9F9570", Offset = "0x9F8570", VA = "0x1809F9570", 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">A <see cref="T:System.Xml.Schema.XmlSchemaSet" />.</param>
|
|
/// <returns>A <see langword="string" /> value that indicates the XSD of the specified <see cref="T:System.Xml.Schema.XmlSchemaSet" />.</returns>
|
|
// Token: 0x0600091E RID: 2334 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600091E")]
|
|
[Address(RVA = "0x9F92C0", Offset = "0x9F82C0", VA = "0x1809F92C0")]
|
|
public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x04000347 RID: 839
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4000347")]
|
|
private byte m_value;
|
|
|
|
/// <summary>Represents a true value that can be assigned to the <see cref="P:System.Data.SqlTypes.SqlBoolean.Value" /> property of an instance of the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</summary>
|
|
// Token: 0x04000348 RID: 840
|
|
[Token(Token = "0x4000348")]
|
|
public static readonly SqlBoolean True;
|
|
|
|
/// <summary>Represents a false value that can be assigned to the <see cref="P:System.Data.SqlTypes.SqlBoolean.Value" /> property of an instance of the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</summary>
|
|
// Token: 0x04000349 RID: 841
|
|
[Token(Token = "0x4000349")]
|
|
public static readonly SqlBoolean False;
|
|
|
|
/// <summary>Represents <see cref="T:System.DBNull" /> that can be assigned to this instance of the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</summary>
|
|
// Token: 0x0400034A RID: 842
|
|
[Token(Token = "0x400034A")]
|
|
public static readonly SqlBoolean Null;
|
|
|
|
/// <summary>Represents a zero value that can be assigned to the <see cref="P:System.Data.SqlTypes.SqlBoolean.ByteValue" /> property of an instance of the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</summary>
|
|
// Token: 0x0400034B RID: 843
|
|
[Token(Token = "0x400034B")]
|
|
public static readonly SqlBoolean Zero;
|
|
|
|
/// <summary>Represents a one value that can be assigned to the <see cref="P:System.Data.SqlTypes.SqlBoolean.ByteValue" /> property of an instance of the <see cref="T:System.Data.SqlTypes.SqlBoolean" /> structure.</summary>
|
|
// Token: 0x0400034C RID: 844
|
|
[Token(Token = "0x400034C")]
|
|
public static readonly SqlBoolean One;
|
|
}
|
|
}
|