using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Runtime.Remoting.Activation; using System.Runtime.Remoting.Messaging; using Cpp2IlInjected; namespace System.Runtime.Remoting.Contexts { /// Defines an environment for the objects that are resident inside it and for which a policy can be enforced. // Token: 0x020004CC RID: 1228 [Token(Token = "0x20004CC")] [ComVisible(true)] [StructLayout(0)] public class Context { // Token: 0x0600280F RID: 10255 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600280F")] [Address(RVA = "0x450D90", Offset = "0x44FB90", VA = "0x180450D90")] private static void RegisterContext(Context ctx) { } // Token: 0x06002810 RID: 10256 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002810")] [Address(RVA = "0x450D90", Offset = "0x44FB90", VA = "0x180450D90")] private static void ReleaseContext(Context ctx) { } /// Initializes a new instance of the class. // Token: 0x06002811 RID: 10257 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002811")] [Address(RVA = "0x2376A90", Offset = "0x2375890", VA = "0x182376A90")] public Context() { } /// Cleans up the backing objects for the nondefault contexts. // Token: 0x06002812 RID: 10258 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002812")] [Address(RVA = "0x2375B30", Offset = "0x2374930", VA = "0x182375B30", Slot = "1")] protected override void Finalize() { } /// Gets the default context for the current application domain. /// The default context for the namespace. // Token: 0x1700058B RID: 1419 // (get) Token: 0x06002813 RID: 10259 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x1700058B")] public static Context DefaultContext { [Token(Token = "0x6002813")] [Address(RVA = "0x1DAA460", Offset = "0x1DA9260", VA = "0x181DAA460")] get { return null; } } /// Gets the context ID for the current context. /// The context ID for the current context. // Token: 0x1700058C RID: 1420 // (get) Token: 0x06002814 RID: 10260 RVA: 0x000162A8 File Offset: 0x000144A8 [Token(Token = "0x1700058C")] public virtual int ContextID { [Token(Token = "0x6002814")] [Address(RVA = "0x495080", Offset = "0x493E80", VA = "0x180495080", Slot = "4")] get { return 0; } } /// Gets the array of the current context properties. /// The current context properties array; otherwise, if the context does not have any properties attributed to it. // Token: 0x1700058D RID: 1421 // (get) Token: 0x06002815 RID: 10261 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x1700058D")] public virtual IContextProperty[] ContextProperties { [Token(Token = "0x6002815")] [Address(RVA = "0x2376B10", Offset = "0x2375910", VA = "0x182376B10", Slot = "5")] get { return null; } } // Token: 0x1700058E RID: 1422 // (get) Token: 0x06002816 RID: 10262 RVA: 0x000162C0 File Offset: 0x000144C0 [Token(Token = "0x1700058E")] internal bool IsDefaultContext { [Token(Token = "0x6002816")] [Address(RVA = "0x2376D40", Offset = "0x2375B40", VA = "0x182376D40")] get { return default(bool); } } // Token: 0x1700058F RID: 1423 // (get) Token: 0x06002817 RID: 10263 RVA: 0x000162D8 File Offset: 0x000144D8 [Token(Token = "0x1700058F")] internal bool NeedsContextSink { [Token(Token = "0x6002817")] [Address(RVA = "0x2376EC0", Offset = "0x2375CC0", VA = "0x182376EC0")] get { return default(bool); } } /// Registers a dynamic property implementing the interface with the remoting service. /// The dynamic property to register. /// The object/proxy for which the property is registered. /// The context for which the property is registered. /// /// if the property was successfully registered; otherwise, . /// Either or its name is , or it is not dynamic (it does not implement ). /// Both an object as well as a context are specified (both and are not ). // Token: 0x06002818 RID: 10264 RVA: 0x000162F0 File Offset: 0x000144F0 [Token(Token = "0x6002818")] [Address(RVA = "0x2376730", Offset = "0x2375530", VA = "0x182376730")] public static bool RegisterDynamicProperty(IDynamicProperty prop, ContextBoundObject obj, Context ctx) { return default(bool); } /// Unregisters a dynamic property implementing the interface. /// The name of the dynamic property to unregister. /// The object/proxy for which the property is registered. /// The context for which the property is registered. /// /// if the object was successfully unregistered; otherwise, . /// The parameter is . /// Both an object as well as a context are specified (both and are not ). // Token: 0x06002819 RID: 10265 RVA: 0x00016308 File Offset: 0x00014508 [Token(Token = "0x6002819")] [Address(RVA = "0x23769A0", Offset = "0x23757A0", VA = "0x1823769A0")] public static bool UnregisterDynamicProperty(string name, ContextBoundObject obj, Context ctx) { return default(bool); } // Token: 0x0600281A RID: 10266 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600281A")] [Address(RVA = "0x2375F50", Offset = "0x2374D50", VA = "0x182375F50")] private static DynamicPropertyCollection GetDynamicPropertyCollection(ContextBoundObject obj, Context ctx) { return null; } // Token: 0x0600281B RID: 10267 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600281B")] [Address(RVA = "0x23765F0", Offset = "0x23753F0", VA = "0x1823765F0")] internal static void NotifyGlobalDynamicSinks(bool start, IMessage req_msg, bool client_site, bool async) { } // Token: 0x17000590 RID: 1424 // (get) Token: 0x0600281C RID: 10268 RVA: 0x00016320 File Offset: 0x00014520 [Token(Token = "0x17000590")] internal static bool HasGlobalDynamicSinks { [Token(Token = "0x600281C")] [Address(RVA = "0x2376C90", Offset = "0x2375A90", VA = "0x182376C90")] get { return default(bool); } } // Token: 0x0600281D RID: 10269 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600281D")] [Address(RVA = "0x2376560", Offset = "0x2375360", VA = "0x182376560")] internal void NotifyDynamicSinks(bool start, IMessage req_msg, bool client_site, bool async) { } // Token: 0x17000591 RID: 1425 // (get) Token: 0x0600281E RID: 10270 RVA: 0x00016338 File Offset: 0x00014538 [Token(Token = "0x17000591")] internal bool HasDynamicSinks { [Token(Token = "0x600281E")] [Address(RVA = "0x2376B70", Offset = "0x2375970", VA = "0x182376B70")] get { return default(bool); } } // Token: 0x17000592 RID: 1426 // (get) Token: 0x0600281F RID: 10271 RVA: 0x00016350 File Offset: 0x00014550 [Token(Token = "0x17000592")] internal bool HasExitSinks { [Token(Token = "0x600281F")] [Address(RVA = "0x2376BB0", Offset = "0x23759B0", VA = "0x182376BB0")] get { return default(bool); } } /// Returns a specific context property, specified by name. /// The name of the property. /// The specified context property. // Token: 0x06002820 RID: 10272 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002820")] [Address(RVA = "0x2376260", Offset = "0x2375060", VA = "0x182376260", Slot = "6")] public virtual IContextProperty GetProperty(string name) { return null; } /// Sets a specific context property by name. /// The actual context property. /// The context is frozen. /// The property or the property name is . // Token: 0x06002821 RID: 10273 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002821")] [Address(RVA = "0x2376810", Offset = "0x2375610", VA = "0x182376810", Slot = "7")] public virtual void SetProperty(IContextProperty prop) { } /// Freezes the context, making it impossible to add or remove context properties from the current context. /// The context is already frozen. // Token: 0x06002822 RID: 10274 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002822")] [Address(RVA = "0x2375C60", Offset = "0x2374A60", VA = "0x182375C60", Slot = "8")] public virtual void Freeze() { } /// Returns a class representation of the current context. /// A class representation of the current context. // Token: 0x06002823 RID: 10275 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002823")] [Address(RVA = "0x2376940", Offset = "0x2375740", VA = "0x182376940", Slot = "3")] public override string ToString() { return null; } // Token: 0x06002824 RID: 10276 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002824")] [Address(RVA = "0x23763E0", Offset = "0x23751E0", VA = "0x1823763E0")] internal IMessageSink GetServerContextSinkChain() { return null; } // Token: 0x06002825 RID: 10277 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002825")] [Address(RVA = "0x2375DD0", Offset = "0x2374BD0", VA = "0x182375DD0")] internal IMessageSink GetClientContextSinkChain() { return null; } // Token: 0x06002826 RID: 10278 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002826")] [Address(RVA = "0x23758F0", Offset = "0x23746F0", VA = "0x1823758F0")] internal IMessageSink CreateServerObjectSinkChain(MarshalByRefObject obj, bool forceInternalExecute) { return null; } // Token: 0x06002827 RID: 10279 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002827")] [Address(RVA = "0x2375120", Offset = "0x2373F20", VA = "0x182375120")] internal IMessageSink CreateEnvoySink(MarshalByRefObject serverObject) { return null; } // Token: 0x06002828 RID: 10280 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002828")] [Address(RVA = "0x2376930", Offset = "0x2375730", VA = "0x182376930")] internal static Context SwitchToContext(Context newContext) { return null; } // Token: 0x06002829 RID: 10281 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002829")] [Address(RVA = "0x2375280", Offset = "0x2374080", VA = "0x182375280")] internal static Context CreateNewContext(IConstructionCallMessage msg) { return null; } /// Executes code in another context. /// The delegate used to request the callback. // Token: 0x0600282A RID: 10282 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600282A")] [Address(RVA = "0x2375A20", Offset = "0x2374820", VA = "0x182375A20")] public void DoCallBack(CrossContextDelegate deleg) { } // Token: 0x17000593 RID: 1427 // (get) Token: 0x0600282B RID: 10283 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x17000593")] private LocalDataStore MyLocalStore { [Token(Token = "0x600282B")] [Address(RVA = "0x2376D50", Offset = "0x2375B50", VA = "0x182376D50")] get { return null; } } /// Allocates an unnamed data slot. /// A local data slot. // Token: 0x0600282C RID: 10284 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600282C")] [Address(RVA = "0x2375030", Offset = "0x2373E30", VA = "0x182375030")] public static LocalDataStoreSlot AllocateDataSlot() { return null; } /// Allocates a named data slot. /// The required name for the data slot. /// A local data slot object. // Token: 0x0600282D RID: 10285 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600282D")] [Address(RVA = "0x23750A0", Offset = "0x2373EA0", VA = "0x1823750A0")] public static LocalDataStoreSlot AllocateNamedDataSlot(string name) { return null; } /// Frees a named data slot on all the contexts. /// The name of the data slot to free. // Token: 0x0600282E RID: 10286 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600282E")] [Address(RVA = "0x2375BE0", Offset = "0x23749E0", VA = "0x182375BE0")] public static void FreeNamedDataSlot(string name) { } /// Looks up a named data slot. /// The data slot name. /// A local data slot. // Token: 0x0600282F RID: 10287 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600282F")] [Address(RVA = "0x23761E0", Offset = "0x2374FE0", VA = "0x1823761E0")] public static LocalDataStoreSlot GetNamedDataSlot(string name) { return null; } /// Retrieves the value from the specified slot on the current context. /// The data slot that contains the data. /// The data associated with . // Token: 0x06002830 RID: 10288 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002830")] [Address(RVA = "0x2375F10", Offset = "0x2374D10", VA = "0x182375F10")] public static object GetData(LocalDataStoreSlot slot) { return null; } /// Sets the data in the specified slot on the current context. /// The data slot where the data is to be added. /// The data that is to be added. // Token: 0x06002831 RID: 10289 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002831")] [Address(RVA = "0x23767C0", Offset = "0x23755C0", VA = "0x1823767C0")] public static void SetData(LocalDataStoreSlot slot, object data) { } // Token: 0x04001786 RID: 6022 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4001786")] private int domain_id; // Token: 0x04001787 RID: 6023 [global::Cpp2IlInjected.FieldOffset(Offset = "0x14")] [Token(Token = "0x4001787")] private int context_id; // Token: 0x04001788 RID: 6024 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4001788")] private UIntPtr static_data; // Token: 0x04001789 RID: 6025 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4001789")] private UIntPtr data; // Token: 0x0400178A RID: 6026 [Token(Token = "0x400178A")] [ContextStatic] private static object[] local_slots; // Token: 0x0400178B RID: 6027 [Token(Token = "0x400178B")] private static IMessageSink default_server_context_sink; // Token: 0x0400178C RID: 6028 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x400178C")] private IMessageSink server_context_sink_chain; // Token: 0x0400178D RID: 6029 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x400178D")] private IMessageSink client_context_sink_chain; // Token: 0x0400178E RID: 6030 [global::Cpp2IlInjected.FieldOffset(Offset = "0x38")] [Token(Token = "0x400178E")] private List context_properties; // Token: 0x0400178F RID: 6031 [Token(Token = "0x400178F")] private static int global_count; // Token: 0x04001790 RID: 6032 [global::Cpp2IlInjected.FieldOffset(Offset = "0x40")] [Token(Token = "0x4001790")] private LocalDataStoreHolder _localDataStore; // Token: 0x04001791 RID: 6033 [Token(Token = "0x4001791")] private static LocalDataStoreMgr _localDataStoreMgr; // Token: 0x04001792 RID: 6034 [Token(Token = "0x4001792")] private static DynamicPropertyCollection global_dynamic_properties; // Token: 0x04001793 RID: 6035 [global::Cpp2IlInjected.FieldOffset(Offset = "0x48")] [Token(Token = "0x4001793")] private DynamicPropertyCollection context_dynamic_properties; // Token: 0x04001794 RID: 6036 [global::Cpp2IlInjected.FieldOffset(Offset = "0x50")] [Token(Token = "0x4001794")] private ContextCallbackObject callback_object; } }