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: 0x0200047B RID: 1147 [Token(Token = "0x200047B")] [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: 0x0600276E RID: 10094 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600276E")] [Address(RVA = "0x267D720", Offset = "0x267C720", VA = "0x18267D720")] 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: 0x0600276F RID: 10095 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600276F")] [Address(RVA = "0xA15870", Offset = "0xA14870", VA = "0x180A15870")] public StreamingContext(StreamingContextStates state, object additional) { } /// Gets context specified as part of the additional context. /// The context specified as part of the additional context. // Token: 0x170005B4 RID: 1460 // (get) Token: 0x06002770 RID: 10096 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170005B4")] public object Context { [Token(Token = "0x6002770")] [Address(RVA = "0x63E630", Offset = "0x63D630", VA = "0x18063E630")] get { return null; } } /// 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: 0x06002771 RID: 10097 RVA: 0x00017FD0 File Offset: 0x000161D0 [Token(Token = "0x6002771")] [Address(RVA = "0x267D670", Offset = "0x267C670", VA = "0x18267D670", 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: 0x06002772 RID: 10098 RVA: 0x00017FE8 File Offset: 0x000161E8 [Token(Token = "0x6002772")] [Address(RVA = "0x60FD70", Offset = "0x60ED70", VA = "0x18060FD70", 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: 0x170005B5 RID: 1461 // (get) Token: 0x06002773 RID: 10099 RVA: 0x00018000 File Offset: 0x00016200 [Token(Token = "0x170005B5")] public StreamingContextStates State { [Token(Token = "0x6002773")] [Address(RVA = "0x60FD70", Offset = "0x60ED70", VA = "0x18060FD70")] get { return (StreamingContextStates)0; } } // Token: 0x040015B0 RID: 5552 [global::Cpp2IlInjected.FieldOffset(Offset = "0x0")] [Token(Token = "0x40015B0")] internal object m_additionalContext; // Token: 0x040015B1 RID: 5553 [global::Cpp2IlInjected.FieldOffset(Offset = "0x8")] [Token(Token = "0x40015B1")] internal StreamingContextStates m_state; } }