using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Runtime.Serialization { /// Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. // Token: 0x0200045F RID: 1119 [Token(Token = "0x200045F")] [ComVisible(true)] [Serializable] public struct StreamingContext { /// Initializes a new instance of the class with a given context state. /// A bitwise combination of the values that specify the source or destination context for this . // Token: 0x06002562 RID: 9570 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002562")] [Address(RVA = "0x29A06B0", Offset = "0x299F4B0", VA = "0x1829A06B0")] public StreamingContext(StreamingContextStates state) { } /// Initializes a new instance of the class with a given context state, and some additional information. /// A bitwise combination of the values that specify the source or destination context for this . /// Any additional information to be associated with the . This information is available to any object that implements or any serialization surrogate. Most users do not need to set this parameter. // Token: 0x06002563 RID: 9571 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002563")] [Address(RVA = "0x25643D0", Offset = "0x25631D0", VA = "0x1825643D0")] public StreamingContext(StreamingContextStates state, object additional) { } /// Determines whether two instances contain the same values. /// An object to compare with the current instance. /// /// if the specified object is an instance of and equals the value of the current instance; otherwise, . // Token: 0x06002564 RID: 9572 RVA: 0x00015C00 File Offset: 0x00013E00 [Token(Token = "0x6002564")] [Address(RVA = "0x29A0600", Offset = "0x299F400", VA = "0x1829A0600", Slot = "0")] public override bool Equals(object obj) { return default(bool); } /// Returns a hash code of this object. /// The value that contains the source or destination of the serialization for this . // Token: 0x06002565 RID: 9573 RVA: 0x00015C18 File Offset: 0x00013E18 [Token(Token = "0x6002565")] [Address(RVA = "0x4C4D90", Offset = "0x4C3B90", VA = "0x1804C4D90", Slot = "2")] public override int GetHashCode() { return 0; } /// Gets the source or destination of the transmitted data. /// During serialization, the destination of the transmitted data. During deserialization, the source of the data. // Token: 0x1700053D RID: 1341 // (get) Token: 0x06002566 RID: 9574 RVA: 0x00015C30 File Offset: 0x00013E30 [Token(Token = "0x1700053D")] public StreamingContextStates State { [Token(Token = "0x6002566")] [Address(RVA = "0x4C4D90", Offset = "0x4C3B90", VA = "0x1804C4D90")] get { return (StreamingContextStates)0; } } // Token: 0x040014ED RID: 5357 [global::Cpp2IlInjected.FieldOffset(Offset = "0x0")] [Token(Token = "0x40014ED")] internal object m_additionalContext; // Token: 0x040014EE RID: 5358 [global::Cpp2IlInjected.FieldOffset(Offset = "0x8")] [Token(Token = "0x40014EE")] internal StreamingContextStates m_state; } }