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

272 lines
13 KiB
C#

using System;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
using Cpp2IlInjected;
namespace System.Data.SqlTypes
{
/// <summary>Represents a GUID to be stored in or retrieved from a database.</summary>
// Token: 0x020000A8 RID: 168
[Token(Token = "0x20000A8")]
[XmlSchemaProvider("GetXsdType")]
[Serializable]
public struct SqlGuid : INullable, IComparable, IXmlSerializable
{
// Token: 0x060009E1 RID: 2529 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x60009E1")]
[Address(RVA = "0x9F88E0", Offset = "0x9F78E0", VA = "0x1809F88E0")]
private SqlGuid(bool fNull)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure using the specified <see cref="T:System.Guid" /> parameter.</summary>
/// <param name="g">A <see cref="T:System.Guid" /></param>
// Token: 0x060009E2 RID: 2530 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x60009E2")]
[Address(RVA = "0xBD09E0", Offset = "0xBCF9E0", VA = "0x180BD09E0")]
public SqlGuid(Guid g)
{
}
/// <summary>Gets a Boolean value that indicates whether this <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure is null.</summary>
/// <returns>
/// <see langword="true" /> if <see langword="null" />. Otherwise, <see langword="false" />.</returns>
// Token: 0x17000189 RID: 393
// (get) Token: 0x060009E3 RID: 2531 RVA: 0x00005D44 File Offset: 0x00003F44
[Token(Token = "0x17000189")]
public bool IsNull
{
[Token(Token = "0x60009E3")]
[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.SqlGuid" /> structure. This property is read-only.</summary>
/// <returns>A <see cref="T:System.Guid" /> structure.</returns>
// Token: 0x1700018A RID: 394
// (get) Token: 0x060009E4 RID: 2532 RVA: 0x00005D5C File Offset: 0x00003F5C
[Token(Token = "0x1700018A")]
public Guid Value
{
[Token(Token = "0x60009E4")]
[Address(RVA = "0xBD0A00", Offset = "0xBCFA00", VA = "0x180BD0A00")]
get
{
return default(Guid);
}
}
/// <summary>Converts the supplied <see cref="T:System.Guid" /> parameter to <see cref="T:System.Data.SqlTypes.SqlGuid" />.</summary>
/// <param name="x">A <see cref="T:System.Guid" />.</param>
/// <returns>A new <see cref="T:System.Data.SqlTypes.SqlGuid" /> whose <see cref="P:System.Data.SqlTypes.SqlGuid.Value" /> is equal to the <see cref="T:System.Guid" /> parameter.</returns>
// Token: 0x060009E5 RID: 2533 RVA: 0x00005D74 File Offset: 0x00003F74
[Token(Token = "0x60009E5")]
[Address(RVA = "0xBD0C20", Offset = "0xBCFC20", VA = "0x180BD0C20")]
public static implicit operator SqlGuid(Guid x)
{
return default(SqlGuid);
}
/// <summary>Converts this <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure to a <see cref="T:System.String" />.</summary>
/// <returns>A <see cref="T:System.String" /> that contains the string representation of the <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure.</returns>
// Token: 0x060009E6 RID: 2534 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60009E6")]
[Address(RVA = "0xBD0900", Offset = "0xBCF900", VA = "0x180BD0900", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x060009E7 RID: 2535 RVA: 0x00005D8C File Offset: 0x00003F8C
[Token(Token = "0x60009E7")]
[Address(RVA = "0xBD02D0", Offset = "0xBCF2D0", VA = "0x180BD02D0")]
private static EComparison Compare(SqlGuid x, SqlGuid y)
{
return EComparison.LT;
}
/// <summary>Performs a logical comparison of two <see cref="T:System.Data.SqlTypes.SqlGuid" /> structures to determine whether they are equal.</summary>
/// <param name="x">A <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure.</param>
/// <param name="y">A <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure.</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.SqlGuid" /> 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: 0x060009E8 RID: 2536 RVA: 0x00005DA4 File Offset: 0x00003FA4
[Token(Token = "0x60009E8")]
[Address(RVA = "0xBD0A80", Offset = "0xBCFA80", VA = "0x180BD0A80")]
public static SqlBoolean operator ==(SqlGuid x, SqlGuid y)
{
return default(SqlBoolean);
}
/// <summary>Compares two instances of <see cref="T:System.Data.SqlTypes.SqlGuid" /> to determine whether the first is less than the second.</summary>
/// <param name="x">A <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure.</param>
/// <param name="y">A <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure.</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.SqlGuid" /> 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: 0x060009E9 RID: 2537 RVA: 0x00005DBC File Offset: 0x00003FBC
[Token(Token = "0x60009E9")]
[Address(RVA = "0xBD0C40", Offset = "0xBCFC40", VA = "0x180BD0C40")]
public static SqlBoolean operator <(SqlGuid x, SqlGuid y)
{
return default(SqlBoolean);
}
/// <summary>Compares two instances of <see cref="T:System.Data.SqlTypes.SqlGuid" /> to determine whether the first is greater than the second.</summary>
/// <param name="x">A <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure.</param>
/// <param name="y">A <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure.</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.SqlGuid" /> 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: 0x060009EA RID: 2538 RVA: 0x00005DD4 File Offset: 0x00003FD4
[Token(Token = "0x60009EA")]
[Address(RVA = "0xBD0B50", Offset = "0xBCFB50", VA = "0x180BD0B50")]
public static SqlBoolean operator >(SqlGuid x, SqlGuid y)
{
return default(SqlBoolean);
}
/// <summary>Compares this <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure to the supplied object and returns an indication of their relative values. Compares more than the last 6 bytes, but treats the last 6 bytes as the most significant ones in comparisons.</summary>
/// <param name="value">The <see cref="T:System.Object" /> to be compared.</param>
/// <returns>A signed number that indicates the relative values of the instance and the object.
/// Return Value
///
/// Condition
///
/// Less than zero
///
/// This instance is less than object.
///
/// Zero
///
/// This instance is the same as object.
///
/// Greater than zero
///
/// This instance is greater than object
///
/// -or-
///
/// object is a null reference (<see langword="Nothing" />)</returns>
// Token: 0x060009EB RID: 2539 RVA: 0x00005DEC File Offset: 0x00003FEC
[Token(Token = "0x60009EB")]
[Address(RVA = "0xBD01D0", Offset = "0xBCF1D0", VA = "0x180BD01D0", Slot = "5")]
public int CompareTo(object value)
{
return 0;
}
/// <summary>Compares this <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure to the supplied <see cref="T:System.Data.SqlTypes.SqlGuid" /> and returns an indication of their relative values. Compares more than the last 6 bytes, but treats the last 6 bytes as the most significant ones in comparisons.</summary>
/// <param name="value">The <see cref="T:System.Data.SqlTypes.SqlGuid" /> to be compared.</param>
/// <returns>A signed number that indicates the relative values of the instance and the object.
/// Return Value
///
/// Condition
///
/// Less than zero
///
/// This instance is less than object.
///
/// Zero
///
/// This instance is the same as object.
///
/// Greater than zero
///
/// This instance is greater than object
///
/// -or-
///
/// object is a null reference (<see langword="Nothing" />).</returns>
// Token: 0x060009EC RID: 2540 RVA: 0x00005E04 File Offset: 0x00004004
[Token(Token = "0x60009EC")]
[Address(RVA = "0xBCFF60", Offset = "0xBCEF60", VA = "0x180BCFF60")]
public int CompareTo(SqlGuid value)
{
return 0;
}
/// <summary>Compares the supplied object parameter to the <see cref="P:System.Data.SqlTypes.SqlGuid.Value" /> property of the <see cref="T:System.Data.SqlTypes.SqlGuid" /> 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.SqlGuid" /> and the two are equal; otherwise <see langword="false" />.</returns>
// Token: 0x060009ED RID: 2541 RVA: 0x00005E1C File Offset: 0x0000401C
[Token(Token = "0x60009ED")]
[Address(RVA = "0xBD0420", Offset = "0xBCF420", VA = "0x180BD0420", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// <summary>Returns the hash code of this <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x060009EE RID: 2542 RVA: 0x00005E34 File Offset: 0x00004034
[Token(Token = "0x60009EE")]
[Address(RVA = "0xBD05D0", Offset = "0xBCF5D0", VA = "0x180BD05D0", 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: 0x060009EF RID: 2543 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60009EF")]
[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: 0x060009F0 RID: 2544 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x60009F0")]
[Address(RVA = "0xBD06D0", Offset = "0xBCF6D0", VA = "0x180BD06D0", 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: 0x060009F1 RID: 2545 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x60009F1")]
[Address(RVA = "0xBD0800", Offset = "0xBCF800", VA = "0x180BD0800", 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: 0x060009F2 RID: 2546 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60009F2")]
[Address(RVA = "0xBD0670", Offset = "0xBCF670", VA = "0x180BD0670")]
public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet)
{
return null;
}
// Token: 0x040003C1 RID: 961
[Token(Token = "0x40003C1")]
private static readonly int s_sizeOfGuid;
// Token: 0x040003C2 RID: 962
[Token(Token = "0x40003C2")]
private static readonly int[] s_rgiGuidOrder;
// Token: 0x040003C3 RID: 963
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40003C3")]
private byte[] m_value;
/// <summary>Represents a <see cref="T:System.DBNull" /> that can be assigned to this instance of the <see cref="T:System.Data.SqlTypes.SqlGuid" /> structure.</summary>
// Token: 0x040003C4 RID: 964
[Token(Token = "0x40003C4")]
public static readonly SqlGuid Null;
}
}