a
This commit is contained in:
@@ -0,0 +1,455 @@
|
||||
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
|
||||
{
|
||||
/// <summary>Defines an environment for the objects that are resident inside it and for which a policy can be enforced.</summary>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Contexts.Context" /> class.</summary>
|
||||
// Token: 0x06002811 RID: 10257 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002811")]
|
||||
[Address(RVA = "0x2376A90", Offset = "0x2375890", VA = "0x182376A90")]
|
||||
public Context()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Cleans up the backing objects for the nondefault contexts.</summary>
|
||||
// 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()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the default context for the current application domain.</summary>
|
||||
/// <returns>The default context for the <see cref="T:System.AppDomain" /> namespace.</returns>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the context ID for the current context.</summary>
|
||||
/// <returns>The context ID for the current context.</returns>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the array of the current context properties.</summary>
|
||||
/// <returns>The current context properties array; otherwise, <see langword="null" /> if the context does not have any properties attributed to it.</returns>
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Registers a dynamic property implementing the <see cref="T:System.Runtime.Remoting.Contexts.IDynamicProperty" /> interface with the remoting service.</summary>
|
||||
/// <param name="prop">The dynamic property to register.</param>
|
||||
/// <param name="obj">The object/proxy for which the property is registered.</param>
|
||||
/// <param name="ctx">The context for which the property is registered.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the property was successfully registered; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">Either <paramref name="prop" /> or its name is <see langword="null" />, or it is not dynamic (it does not implement <see cref="T:System.Runtime.Remoting.Contexts.IDynamicProperty" />).</exception>
|
||||
/// <exception cref="T:System.ArgumentException">Both an object as well as a context are specified (both <paramref name="obj" /> and <paramref name="ctx" /> are not <see langword="null" />).</exception>
|
||||
// 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);
|
||||
}
|
||||
|
||||
/// <summary>Unregisters a dynamic property implementing the <see cref="T:System.Runtime.Remoting.Contexts.IDynamicProperty" /> interface.</summary>
|
||||
/// <param name="name">The name of the dynamic property to unregister.</param>
|
||||
/// <param name="obj">The object/proxy for which the property is registered.</param>
|
||||
/// <param name="ctx">The context for which the property is registered.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the object was successfully unregistered; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">Both an object as well as a context are specified (both <paramref name="obj" /> and <paramref name="ctx" /> are not <see langword="null" />).</exception>
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns a specific context property, specified by name.</summary>
|
||||
/// <param name="name">The name of the property.</param>
|
||||
/// <returns>The specified context property.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Sets a specific context property by name.</summary>
|
||||
/// <param name="prop">The actual context property.</param>
|
||||
/// <exception cref="T:System.InvalidOperationException">The context is frozen.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The property or the property name is <see langword="null" />.</exception>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Freezes the context, making it impossible to add or remove context properties from the current context.</summary>
|
||||
/// <exception cref="T:System.InvalidOperationException">The context is already frozen.</exception>
|
||||
// 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()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns a <see cref="T:System.String" /> class representation of the current context.</summary>
|
||||
/// <returns>A <see cref="T:System.String" /> class representation of the current context.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Executes code in another context.</summary>
|
||||
/// <param name="deleg">The delegate used to request the callback.</param>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Allocates an unnamed data slot.</summary>
|
||||
/// <returns>A local data slot.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Allocates a named data slot.</summary>
|
||||
/// <param name="name">The required name for the data slot.</param>
|
||||
/// <returns>A local data slot object.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Frees a named data slot on all the contexts.</summary>
|
||||
/// <param name="name">The name of the data slot to free.</param>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Looks up a named data slot.</summary>
|
||||
/// <param name="name">The data slot name.</param>
|
||||
/// <returns>A local data slot.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Retrieves the value from the specified slot on the current context.</summary>
|
||||
/// <param name="slot">The data slot that contains the data.</param>
|
||||
/// <returns>The data associated with <paramref name="slot" />.</returns>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Sets the data in the specified slot on the current context.</summary>
|
||||
/// <param name="slot">The data slot where the data is to be added.</param>
|
||||
/// <param name="data">The data that is to be added.</param>
|
||||
// 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<IContextProperty> 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;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
// Token: 0x020004CF RID: 1231
|
||||
[Token(Token = "0x20004CF")]
|
||||
internal class ContextCallbackObject : ContextBoundObject
|
||||
{
|
||||
// Token: 0x0600283A RID: 10298 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600283A")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
||||
public void DoCallBack(CrossContextDelegate deleg)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600283B RID: 10299 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600283B")]
|
||||
[Address(RVA = "0x716AB0", Offset = "0x7158B0", VA = "0x180716AB0")]
|
||||
public ContextCallbackObject()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
using System;
|
||||
using System.Runtime.Remoting.Messaging;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
// Token: 0x020004D0 RID: 1232
|
||||
[Token(Token = "0x20004D0")]
|
||||
internal class CrossContextChannel : IMessageSink
|
||||
{
|
||||
// Token: 0x0600283C RID: 10300 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600283C")]
|
||||
[Address(RVA = "0x23783D0", Offset = "0x23771D0", VA = "0x1823783D0", Slot = "4")]
|
||||
public IMessage SyncProcessMessage(IMessage msg)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600283D RID: 10301 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600283D")]
|
||||
[Address(RVA = "0x2377FF0", Offset = "0x2376DF0", VA = "0x182377FF0", Slot = "5")]
|
||||
public IMessageCtrl AsyncProcessMessage(IMessage msg, IMessageSink replySink)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600283E RID: 10302 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600283E")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public CrossContextChannel()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x020004D1 RID: 1233
|
||||
[Token(Token = "0x20004D1")]
|
||||
private class ContextRestoreSink : IMessageSink
|
||||
{
|
||||
// Token: 0x0600283F RID: 10303 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600283F")]
|
||||
[Address(RVA = "0x4A7B10", Offset = "0x4A6910", VA = "0x1804A7B10")]
|
||||
public ContextRestoreSink(IMessageSink next, Context context, IMessage call)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002840 RID: 10304 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002840")]
|
||||
[Address(RVA = "0x2374E20", Offset = "0x2373C20", VA = "0x182374E20", Slot = "4")]
|
||||
public IMessage SyncProcessMessage(IMessage msg)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002841 RID: 10305 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002841")]
|
||||
[Address(RVA = "0x2374DD0", Offset = "0x2373BD0", VA = "0x182374DD0", Slot = "5")]
|
||||
public IMessageCtrl AsyncProcessMessage(IMessage msg, IMessageSink replySink)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001798 RID: 6040
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001798")]
|
||||
private IMessageSink _next;
|
||||
|
||||
// Token: 0x04001799 RID: 6041
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001799")]
|
||||
private Context _context;
|
||||
|
||||
// Token: 0x0400179A RID: 6042
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400179A")]
|
||||
private IMessage _call;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
/// <summary>Represents the method that will handle the requests of execution of some code in another context.</summary>
|
||||
// Token: 0x020004D2 RID: 1234
|
||||
// (Invoke) Token: 0x06002843 RID: 10307
|
||||
[Token(Token = "0x20004D2")]
|
||||
[ComVisible(true)]
|
||||
public delegate void CrossContextDelegate();
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.Remoting.Messaging;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
// Token: 0x020004CD RID: 1229
|
||||
[Token(Token = "0x20004CD")]
|
||||
internal class DynamicPropertyCollection
|
||||
{
|
||||
// Token: 0x17000594 RID: 1428
|
||||
// (get) Token: 0x06002833 RID: 10291 RVA: 0x00016368 File Offset: 0x00014568
|
||||
[Token(Token = "0x17000594")]
|
||||
public bool HasProperties
|
||||
{
|
||||
[Token(Token = "0x6002833")]
|
||||
[Address(RVA = "0x2379520", Offset = "0x2378320", VA = "0x182379520")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002834 RID: 10292 RVA: 0x00016380 File Offset: 0x00014580
|
||||
[Token(Token = "0x6002834")]
|
||||
[Address(RVA = "0x23791B0", Offset = "0x2377FB0", VA = "0x1823791B0")]
|
||||
public bool RegisterDynamicProperty(IDynamicProperty prop)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002835 RID: 10293 RVA: 0x00016398 File Offset: 0x00014598
|
||||
[Token(Token = "0x6002835")]
|
||||
[Address(RVA = "0x2379380", Offset = "0x2378180", VA = "0x182379380")]
|
||||
public bool UnregisterDynamicProperty(string name)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002836 RID: 10294 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002836")]
|
||||
[Address(RVA = "0x2378D00", Offset = "0x2377B00", VA = "0x182378D00")]
|
||||
public void NotifyMessage(bool start, IMessage msg, bool client_site, bool async)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002837 RID: 10295 RVA: 0x000163B0 File Offset: 0x000145B0
|
||||
[Token(Token = "0x6002837")]
|
||||
[Address(RVA = "0x2378B80", Offset = "0x2377980", VA = "0x182378B80")]
|
||||
private int FindProperty(string name)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06002838 RID: 10296 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002838")]
|
||||
[Address(RVA = "0x23794C0", Offset = "0x23782C0", VA = "0x1823794C0")]
|
||||
public DynamicPropertyCollection()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001795 RID: 6037
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001795")]
|
||||
private ArrayList _properties;
|
||||
|
||||
// Token: 0x020004CE RID: 1230
|
||||
[Token(Token = "0x20004CE")]
|
||||
private class DynamicPropertyReg
|
||||
{
|
||||
// Token: 0x06002839 RID: 10297 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002839")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public DynamicPropertyReg()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001796 RID: 6038
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001796")]
|
||||
public IDynamicProperty Property;
|
||||
|
||||
// Token: 0x04001797 RID: 6039
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001797")]
|
||||
public IDynamicMessageSink Sink;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Remoting.Activation;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
/// <summary>Identifies a context attribute.</summary>
|
||||
// Token: 0x020004D3 RID: 1235
|
||||
[Token(Token = "0x20004D3")]
|
||||
[ComVisible(true)]
|
||||
public interface IContextAttribute
|
||||
{
|
||||
/// <summary>Returns context properties to the caller in the given message.</summary>
|
||||
/// <param name="msg">The <see cref="T:System.Runtime.Remoting.Activation.IConstructionCallMessage" /> to which to add the context properties.</param>
|
||||
// Token: 0x06002846 RID: 10310
|
||||
[Token(Token = "0x6002846")]
|
||||
[Address(Slot = "0")]
|
||||
void GetPropertiesForNewContext(IConstructionCallMessage msg);
|
||||
|
||||
/// <summary>Returns a Boolean value indicating whether the specified context meets the context attribute's requirements.</summary>
|
||||
/// <param name="ctx">The context to check against the current context attribute.</param>
|
||||
/// <param name="msg">The construction call, parameters of which need to be checked against the current context.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the passed in context is okay; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06002847 RID: 10311
|
||||
[Token(Token = "0x6002847")]
|
||||
[Address(Slot = "1")]
|
||||
bool IsContextOK(Context ctx, IConstructionCallMessage msg);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
/// <summary>Gathers naming information from the context property and determines whether the new context is ok for the context property.</summary>
|
||||
// Token: 0x020004D4 RID: 1236
|
||||
[Token(Token = "0x20004D4")]
|
||||
[ComVisible(true)]
|
||||
public interface IContextProperty
|
||||
{
|
||||
/// <summary>Gets the name of the property under which it will be added to the context.</summary>
|
||||
/// <returns>The name of the property.</returns>
|
||||
// Token: 0x17000595 RID: 1429
|
||||
// (get) Token: 0x06002848 RID: 10312
|
||||
[Token(Token = "0x17000595")]
|
||||
string Name
|
||||
{
|
||||
[Token(Token = "0x6002848")]
|
||||
[Address(Slot = "0")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Called when the context is frozen.</summary>
|
||||
/// <param name="newContext">The context to freeze.</param>
|
||||
// Token: 0x06002849 RID: 10313
|
||||
[Token(Token = "0x6002849")]
|
||||
[Address(Slot = "1")]
|
||||
void Freeze(Context newContext);
|
||||
|
||||
/// <summary>Returns a Boolean value indicating whether the context property is compatible with the new context.</summary>
|
||||
/// <param name="newCtx">The new context in which the <see cref="T:System.Runtime.Remoting.Contexts.ContextProperty" /> has been created.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the context property can coexist with the other context properties in the given context; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x0600284A RID: 10314
|
||||
[Token(Token = "0x600284A")]
|
||||
[Address(Slot = "2")]
|
||||
bool IsNewContextOK(Context newCtx);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Remoting.Messaging;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
/// <summary>Contributes an interception sink at the context boundary on the client end of a remoting call.</summary>
|
||||
// Token: 0x020004D5 RID: 1237
|
||||
[Token(Token = "0x20004D5")]
|
||||
[ComVisible(true)]
|
||||
public interface IContributeClientContextSink
|
||||
{
|
||||
/// <summary>Takes the first sink in the chain of sinks composed so far, and then chains its message sink in front of the chain already formed.</summary>
|
||||
/// <param name="nextSink">The chain of sinks composed so far.</param>
|
||||
/// <returns>The composite sink chain.</returns>
|
||||
// Token: 0x0600284B RID: 10315
|
||||
[Token(Token = "0x600284B")]
|
||||
[Address(Slot = "0")]
|
||||
IMessageSink GetClientContextSink(IMessageSink nextSink);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
/// <summary>Indicates that the implementing property will be registered at runtime through the <see cref="M:System.Runtime.Remoting.Contexts.Context.RegisterDynamicProperty(System.Runtime.Remoting.Contexts.IDynamicProperty,System.ContextBoundObject,System.Runtime.Remoting.Contexts.Context)" /> method.</summary>
|
||||
// Token: 0x020004D6 RID: 1238
|
||||
[Token(Token = "0x20004D6")]
|
||||
[ComVisible(true)]
|
||||
public interface IContributeDynamicSink
|
||||
{
|
||||
/// <summary>Returns the message sink that will be notified of call start and finish events through the <see cref="T:System.Runtime.Remoting.Contexts.IDynamicMessageSink" /> interface.</summary>
|
||||
/// <returns>A dynamic sink that exposes the <see cref="T:System.Runtime.Remoting.Contexts.IDynamicMessageSink" /> interface.</returns>
|
||||
// Token: 0x0600284C RID: 10316
|
||||
[Token(Token = "0x600284C")]
|
||||
[Address(Slot = "0")]
|
||||
IDynamicMessageSink GetDynamicSink();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Remoting.Messaging;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
/// <summary>Contributes an envoy message sink on the client end.</summary>
|
||||
// Token: 0x020004D7 RID: 1239
|
||||
[Token(Token = "0x20004D7")]
|
||||
[ComVisible(true)]
|
||||
public interface IContributeEnvoySink
|
||||
{
|
||||
/// <summary>Takes the first sink in the chain of sinks composed so far, and then chains its message sink in front of the chain already formed.</summary>
|
||||
/// <param name="obj">The server object for which the chain is being created.</param>
|
||||
/// <param name="nextSink">The chain of sinks composed so far.</param>
|
||||
/// <returns>The composite sink chain.</returns>
|
||||
// Token: 0x0600284D RID: 10317
|
||||
[Token(Token = "0x600284D")]
|
||||
[Address(Slot = "0")]
|
||||
IMessageSink GetEnvoySink(MarshalByRefObject obj, IMessageSink nextSink);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Remoting.Messaging;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
/// <summary>Contributes an object-specific interception sink on the server end of a remoting call.</summary>
|
||||
// Token: 0x020004D8 RID: 1240
|
||||
[Token(Token = "0x20004D8")]
|
||||
[ComVisible(true)]
|
||||
public interface IContributeObjectSink
|
||||
{
|
||||
/// <summary>Chains the message sink of the provided server object in front of the given sink chain.</summary>
|
||||
/// <param name="obj">The server object which provides the message sink that is to be chained in front of the given chain.</param>
|
||||
/// <param name="nextSink">The chain of sinks composed so far.</param>
|
||||
/// <returns>The composite sink chain.</returns>
|
||||
// Token: 0x0600284E RID: 10318
|
||||
[Token(Token = "0x600284E")]
|
||||
[Address(Slot = "0")]
|
||||
IMessageSink GetObjectSink(MarshalByRefObject obj, IMessageSink nextSink);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Remoting.Messaging;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
/// <summary>Contributes an interception sink at the context boundary on the server end of a remoting call.</summary>
|
||||
// Token: 0x020004D9 RID: 1241
|
||||
[Token(Token = "0x20004D9")]
|
||||
[ComVisible(true)]
|
||||
public interface IContributeServerContextSink
|
||||
{
|
||||
/// <summary>Takes the first sink in the chain of sinks composed so far, and then chains its message sink in front of the chain already formed.</summary>
|
||||
/// <param name="nextSink">The chain of sinks composed so far.</param>
|
||||
/// <returns>The composite sink chain.</returns>
|
||||
// Token: 0x0600284F RID: 10319
|
||||
[Token(Token = "0x600284F")]
|
||||
[Address(Slot = "0")]
|
||||
IMessageSink GetServerContextSink(IMessageSink nextSink);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Remoting.Messaging;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
/// <summary>Indicates that the implementing message sink will be provided by dynamically registered properties.</summary>
|
||||
// Token: 0x020004DA RID: 1242
|
||||
[Token(Token = "0x20004DA")]
|
||||
[ComVisible(true)]
|
||||
public interface IDynamicMessageSink
|
||||
{
|
||||
/// <summary>Indicates that a call is returning.</summary>
|
||||
/// <param name="replyMsg">A reply message.</param>
|
||||
/// <param name="bCliSide">A value of <see langword="true" /> if the method is invoked on the client side and <see langword="false" /> if it is invoked on the server side.</param>
|
||||
/// <param name="bAsync">A value of <see langword="true" /> if this is an asynchronic call and <see langword="false" /> if it is a synchronic call.</param>
|
||||
// Token: 0x06002850 RID: 10320
|
||||
[Token(Token = "0x6002850")]
|
||||
[Address(Slot = "0")]
|
||||
void ProcessMessageFinish(IMessage replyMsg, bool bCliSide, bool bAsync);
|
||||
|
||||
/// <summary>Indicates that a call is starting.</summary>
|
||||
/// <param name="reqMsg">A request message.</param>
|
||||
/// <param name="bCliSide">A value of <see langword="true" /> if the method is invoked on the client side and <see langword="false" /> if the method is on the server side.</param>
|
||||
/// <param name="bAsync">A value of <see langword="true" /> if this is an asynchronic call and <see langword="false" /> if it is a synchronic call.</param>
|
||||
// Token: 0x06002851 RID: 10321
|
||||
[Token(Token = "0x6002851")]
|
||||
[Address(Slot = "1")]
|
||||
void ProcessMessageStart(IMessage reqMsg, bool bCliSide, bool bAsync);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
/// <summary>Indicates that the implementing property should be registered at runtime through the <see cref="M:System.Runtime.Remoting.Contexts.Context.RegisterDynamicProperty(System.Runtime.Remoting.Contexts.IDynamicProperty,System.ContextBoundObject,System.Runtime.Remoting.Contexts.Context)" /> method.</summary>
|
||||
// Token: 0x020004DB RID: 1243
|
||||
[Token(Token = "0x20004DB")]
|
||||
[ComVisible(true)]
|
||||
public interface IDynamicProperty
|
||||
{
|
||||
/// <summary>Gets the name of the dynamic property.</summary>
|
||||
/// <returns>The name of the dynamic property.</returns>
|
||||
// Token: 0x17000596 RID: 1430
|
||||
// (get) Token: 0x06002852 RID: 10322
|
||||
[Token(Token = "0x17000596")]
|
||||
string Name
|
||||
{
|
||||
[Token(Token = "0x6002852")]
|
||||
[Address(Slot = "0")]
|
||||
get;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user