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

233 lines
9.2 KiB
C#

using System;
using System.Reflection;
using System.Runtime.Serialization;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
using Cpp2IlInjected;
namespace System.Data.SqlTypes
{
/// <summary>
/// <see cref="T:System.Data.SqlTypes.SqlChars" /> is a mutable reference type that wraps a <see cref="T:System.Char" /> array or a <see cref="T:System.Data.SqlTypes.SqlString" /> instance.</summary>
// Token: 0x020000A4 RID: 164
[Token(Token = "0x20000A4")]
[DefaultMember("Item")]
[XmlSchemaProvider("GetXsdType")]
[Serializable]
public sealed class SqlChars : INullable, IXmlSerializable, ISerializable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Data.SqlTypes.SqlChars" /> class.</summary>
// Token: 0x0600094C RID: 2380 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x600094C")]
[Address(RVA = "0x9FB3F0", Offset = "0x9FA3F0", VA = "0x1809FB3F0")]
public SqlChars()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Data.SqlTypes.SqlChars" /> class based on the specified character array.</summary>
/// <param name="buffer">A <see cref="T:System.Char" /> array.</param>
// Token: 0x0600094D RID: 2381 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x600094D")]
[Address(RVA = "0x9FB2D0", Offset = "0x9FA2D0", VA = "0x1809FB2D0")]
public SqlChars(char[] buffer)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Data.SqlTypes.SqlChars" /> class based on the specified <see cref="T:System.Data.SqlTypes.SqlString" /> value.</summary>
/// <param name="value">A <see cref="T:System.Data.SqlTypes.SqlString" />.</param>
// Token: 0x0600094E RID: 2382 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x600094E")]
[Address(RVA = "0x9FBE00", Offset = "0x9FAE00", VA = "0x1809FBE00")]
public SqlChars(SqlString value)
{
}
/// <summary>Gets a Boolean value that indicates whether this <see cref="T:System.Data.SqlTypes.SqlChars" /> is null.</summary>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.Data.SqlTypes.SqlChars" /> is null. Otherwise, <see langword="false" />.</returns>
// Token: 0x17000179 RID: 377
// (get) Token: 0x0600094F RID: 2383 RVA: 0x000054BC File Offset: 0x000036BC
[Token(Token = "0x17000179")]
public bool IsNull
{
[Token(Token = "0x600094F")]
[Address(RVA = "0x9FB560", Offset = "0x9FA560", VA = "0x1809FB560", Slot = "4")]
get
{
return default(bool);
}
}
/// <summary>Returns a reference to the internal buffer.</summary>
/// <returns>A reference to the internal buffer. For <see cref="T:System.Data.SqlTypes.SqlChars" /> instances created on top of unmanaged pointers, it returns a managed copy of the internal buffer.</returns>
// Token: 0x1700017A RID: 378
// (get) Token: 0x06000950 RID: 2384 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700017A")]
public char[] Buffer
{
[Token(Token = "0x6000950")]
[Address(RVA = "0x9FBEA0", Offset = "0x9FAEA0", VA = "0x1809FBEA0")]
get
{
return null;
}
}
/// <summary>Gets the length of the value that is contained in the <see cref="T:System.Data.SqlTypes.SqlChars" /> instance.</summary>
/// <returns>A <see cref="T:System.Int64" /> value that indicates the length in characters of the value that is contained in the <see cref="T:System.Data.SqlTypes.SqlChars" /> instance.
/// Returns -1 if no buffer is available to the instance, or if the value is null.
/// Returns a <see cref="P:System.IO.Stream.Length" /> for a stream-wrapped instance.</returns>
// Token: 0x1700017B RID: 379
// (get) Token: 0x06000951 RID: 2385 RVA: 0x000054D4 File Offset: 0x000036D4
[Token(Token = "0x1700017B")]
public long Length
{
[Token(Token = "0x6000951")]
[Address(RVA = "0x9FBFE0", Offset = "0x9FAFE0", VA = "0x1809FBFE0")]
get
{
return 0L;
}
}
/// <summary>Returns a managed copy of the value held by this <see cref="T:System.Data.SqlTypes.SqlChars" />.</summary>
/// <returns>The value of this <see cref="T:System.Data.SqlTypes.SqlChars" /> as an array of characters.</returns>
// Token: 0x1700017C RID: 380
// (get) Token: 0x06000952 RID: 2386 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700017C")]
public char[] Value
{
[Token(Token = "0x6000952")]
[Address(RVA = "0x9FC0D0", Offset = "0x9FB0D0", VA = "0x1809FC0D0")]
get
{
return null;
}
}
/// <summary>Sets this <see cref="T:System.Data.SqlTypes.SqlChars" /> instance to null.</summary>
// Token: 0x06000953 RID: 2387 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000953")]
[Address(RVA = "0x9FAE60", Offset = "0x9F9E60", VA = "0x1809FAE60")]
public void SetNull()
{
}
// Token: 0x06000954 RID: 2388 RVA: 0x000054EC File Offset: 0x000036EC
[Token(Token = "0x6000954")]
[Address(RVA = "0x9FADC0", Offset = "0x9F9DC0", VA = "0x1809FADC0")]
internal bool FStream()
{
return default(bool);
}
// Token: 0x06000955 RID: 2389 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000955")]
[Address(RVA = "0x9FB860", Offset = "0x9FA860", VA = "0x1809FB860")]
private void CopyStreamToBuffer()
{
}
// Token: 0x06000956 RID: 2390 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000956")]
[Address(RVA = "0x9FAE30", Offset = "0x9F9E30", VA = "0x1809FAE30")]
private void SetBuffer(char[] buffer)
{
}
/// <summary>This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.</summary>
/// <returns>This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.</returns>
// Token: 0x06000957 RID: 2391 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000957")]
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "5")]
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="r">
/// <see langword="XmlReader" />
/// </param>
// Token: 0x06000958 RID: 2392 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000958")]
[Address(RVA = "0x9FBA50", Offset = "0x9FAA50", VA = "0x1809FBA50", Slot = "6")]
void IXmlSerializable.ReadXml(XmlReader r)
{
}
/// <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: 0x06000959 RID: 2393 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000959")]
[Address(RVA = "0x9FBB80", Offset = "0x9FAB80", VA = "0x1809FBB80", 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">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: 0x0600095A RID: 2394 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600095A")]
[Address(RVA = "0x9FB9A0", Offset = "0x9FA9A0", VA = "0x1809FB9A0")]
public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet)
{
return null;
}
/// <summary>Gets serialization information with all the data needed to reinstantiate this <see cref="T:System.Data.SqlTypes.SqlChars" /> instance.</summary>
/// <param name="info">The object to be populated with serialization information.</param>
/// <param name="context">The destination context of the serialization.</param>
// Token: 0x0600095B RID: 2395 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x600095B")]
[Address(RVA = "0x9FBA00", Offset = "0x9FAA00", VA = "0x1809FBA00", Slot = "8")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Returns a null instance of this <see cref="T:System.Data.SqlTypes.SqlChars" />.</summary>
/// <returns>An instance whose <see cref="P:System.Data.SqlTypes.SqlChars.IsNull" /> property returns <see langword="true" />. For more information, see Handling Null Values.</returns>
// Token: 0x1700017D RID: 381
// (get) Token: 0x0600095C RID: 2396 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700017D")]
public static SqlChars Null
{
[Token(Token = "0x600095C")]
[Address(RVA = "0x9FC070", Offset = "0x9FB070", VA = "0x1809FC070")]
get
{
return null;
}
}
// Token: 0x0400035D RID: 861
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400035D")]
internal char[] _rgchBuf;
// Token: 0x0400035E RID: 862
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400035E")]
private long _lCurLen;
// Token: 0x0400035F RID: 863
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400035F")]
internal SqlStreamChars _stream;
// Token: 0x04000360 RID: 864
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000360")]
private SqlBytesCharsState _state;
// Token: 0x04000361 RID: 865
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000361")]
private char[] _rgchWorkBuf;
}
}