using System; using System.IO; using System.Reflection; using System.Runtime.Serialization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; using Cpp2IlInjected; namespace System.Data.SqlTypes { /// Represents a mutable reference type that wraps either a or a . // Token: 0x020000A3 RID: 163 [Token(Token = "0x20000A3")] [DefaultMember("Item")] [XmlSchemaProvider("GetXsdType")] [Serializable] public sealed class SqlBytes : INullable, IXmlSerializable, ISerializable { /// Initializes a new instance of the class. // Token: 0x0600093B RID: 2363 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x600093B")] [Address(RVA = "0x9FB3F0", Offset = "0x9FA3F0", VA = "0x1809FB3F0")] public SqlBytes() { } /// Initializes a new instance of the class based on the specified byte array. /// The array of unsigned bytes. // Token: 0x0600093C RID: 2364 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x600093C")] [Address(RVA = "0x9FB2D0", Offset = "0x9FA2D0", VA = "0x1809FB2D0")] public SqlBytes(byte[] buffer) { } /// Initializes a new instance of the class based on the specified value. /// A value. // Token: 0x0600093D RID: 2365 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x600093D")] [Address(RVA = "0x9FB330", Offset = "0x9FA330", VA = "0x1809FB330")] public SqlBytes(SqlBinary value) { } /// Gets a Boolean value that indicates whether this is null. /// /// if the is null, otherwise. // Token: 0x17000174 RID: 372 // (get) Token: 0x0600093E RID: 2366 RVA: 0x00005474 File Offset: 0x00003674 [Token(Token = "0x17000174")] public bool IsNull { [Token(Token = "0x600093E")] [Address(RVA = "0x9FB560", Offset = "0x9FA560", VA = "0x1809FB560", Slot = "4")] get { return default(bool); } } /// Returns a reference to the internal buffer. /// A reference to the internal buffer. For instances created on top of unmanaged pointers, it returns a managed copy of the internal buffer. // Token: 0x17000175 RID: 373 // (get) Token: 0x0600093F RID: 2367 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000175")] public byte[] Buffer { [Token(Token = "0x600093F")] [Address(RVA = "0x9FB420", Offset = "0x9FA420", VA = "0x1809FB420")] get { return null; } } /// Gets the length of the value that is contained in the instance. /// A value representing the length of the value that is contained in the instance. /// Returns -1 if no buffer is available to the instance or if the value is null. /// Returns a for a stream-wrapped instance. // Token: 0x17000176 RID: 374 // (get) Token: 0x06000940 RID: 2368 RVA: 0x0000548C File Offset: 0x0000368C [Token(Token = "0x17000176")] public long Length { [Token(Token = "0x6000940")] [Address(RVA = "0x9FB570", Offset = "0x9FA570", VA = "0x1809FB570")] get { return 0L; } } /// Returns a managed copy of the value held by this . /// The value of this as an array of bytes. // Token: 0x17000177 RID: 375 // (get) Token: 0x06000941 RID: 2369 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000177")] public byte[] Value { [Token(Token = "0x6000941")] [Address(RVA = "0x9FB660", Offset = "0x9FA660", VA = "0x1809FB660")] get { return null; } } /// Sets this instance to null. // Token: 0x06000942 RID: 2370 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x6000942")] [Address(RVA = "0x9FAE60", Offset = "0x9F9E60", VA = "0x1809FAE60")] public void SetNull() { } // Token: 0x06000943 RID: 2371 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x6000943")] [Address(RVA = "0x9FAC80", Offset = "0x9F9C80", VA = "0x1809FAC80")] private void CopyStreamToBuffer() { } // Token: 0x06000944 RID: 2372 RVA: 0x000054A4 File Offset: 0x000036A4 [Token(Token = "0x6000944")] [Address(RVA = "0x9FADC0", Offset = "0x9F9DC0", VA = "0x1809FADC0")] internal bool FStream() { return default(bool); } // Token: 0x06000945 RID: 2373 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x6000945")] [Address(RVA = "0x9FAE30", Offset = "0x9F9E30", VA = "0x1809FAE30")] private void SetBuffer(byte[] buffer) { } /// This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. /// This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. // Token: 0x06000946 RID: 2374 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000946")] [Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "5")] XmlSchema IXmlSerializable.GetSchema() { return null; } /// This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. /// /// /// // Token: 0x06000947 RID: 2375 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x6000947")] [Address(RVA = "0x9FAED0", Offset = "0x9F9ED0", VA = "0x1809FAED0", Slot = "6")] void IXmlSerializable.ReadXml(XmlReader r) { } /// This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. /// /// /// // Token: 0x06000948 RID: 2376 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x6000948")] [Address(RVA = "0x9FB040", Offset = "0x9FA040", VA = "0x1809FB040", Slot = "7")] void IXmlSerializable.WriteXml(XmlWriter writer) { } /// Returns the XML Schema definition language (XSD) of the specified . /// A . /// A that indicates the XSD of the specified . // Token: 0x06000949 RID: 2377 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000949")] [Address(RVA = "0x9FADD0", Offset = "0x9F9DD0", VA = "0x1809FADD0")] public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet) { return null; } /// Gets serialization information with all the data needed to reinstantiate this instance. /// The object to be populated with serialization information. /// The destination context of the serialization. // Token: 0x0600094A RID: 2378 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x600094A")] [Address(RVA = "0x9FAE80", Offset = "0x9F9E80", VA = "0x1809FAE80", Slot = "8")] void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context) { } /// Gets a null instance of this . /// An instance whose property returns . // Token: 0x17000178 RID: 376 // (get) Token: 0x0600094B RID: 2379 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000178")] public static SqlBytes Null { [Token(Token = "0x600094B")] [Address(RVA = "0x9FB600", Offset = "0x9FA600", VA = "0x1809FB600")] get { return null; } } // Token: 0x04000358 RID: 856 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000358")] internal byte[] _rgbBuf; // Token: 0x04000359 RID: 857 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000359")] private long _lCurLen; // Token: 0x0400035A RID: 858 [FieldOffset(Offset = "0x20")] [Token(Token = "0x400035A")] internal Stream _stream; // Token: 0x0400035B RID: 859 [FieldOffset(Offset = "0x28")] [Token(Token = "0x400035B")] private SqlBytesCharsState _state; // Token: 0x0400035C RID: 860 [FieldOffset(Offset = "0x30")] [Token(Token = "0x400035C")] private byte[] _rgbWorkBuf; } }