m
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: 0x020004E8 RID: 1256
|
||||
[Token(Token = "0x20004E8")]
|
||||
[ComVisible(true)]
|
||||
[StructLayout(0)]
|
||||
public class Context
|
||||
{
|
||||
// Token: 0x06002A1C RID: 10780 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A1C")]
|
||||
[Address(RVA = "0x92BEF0", Offset = "0x92AEF0", VA = "0x18092BEF0")]
|
||||
private static void RegisterContext(Context ctx)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002A1D RID: 10781 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A1D")]
|
||||
[Address(RVA = "0x92BEF0", Offset = "0x92AEF0", VA = "0x18092BEF0")]
|
||||
private static void ReleaseContext(Context ctx)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.Remoting.Contexts.Context" /> class.</summary>
|
||||
// Token: 0x06002A1E RID: 10782 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A1E")]
|
||||
[Address(RVA = "0x2BFD140", Offset = "0x2BFC140", VA = "0x182BFD140")]
|
||||
public Context()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Cleans up the backing objects for the nondefault contexts.</summary>
|
||||
// Token: 0x06002A1F RID: 10783 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A1F")]
|
||||
[Address(RVA = "0x2BFC1E0", Offset = "0x2BFB1E0", VA = "0x182BFC1E0", 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: 0x17000603 RID: 1539
|
||||
// (get) Token: 0x06002A20 RID: 10784 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000603")]
|
||||
public static Context DefaultContext
|
||||
{
|
||||
[Token(Token = "0x6002A20")]
|
||||
[Address(RVA = "0xB55560", Offset = "0xB54560", VA = "0x180B55560")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the context ID for the current context.</summary>
|
||||
/// <returns>The context ID for the current context.</returns>
|
||||
// Token: 0x17000604 RID: 1540
|
||||
// (get) Token: 0x06002A21 RID: 10785 RVA: 0x00018678 File Offset: 0x00016878
|
||||
[Token(Token = "0x17000604")]
|
||||
public virtual int ContextID
|
||||
{
|
||||
[Token(Token = "0x6002A21")]
|
||||
[Address(RVA = "0x4936D0", Offset = "0x4926D0", VA = "0x1804936D0", 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: 0x17000605 RID: 1541
|
||||
// (get) Token: 0x06002A22 RID: 10786 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000605")]
|
||||
public virtual IContextProperty[] ContextProperties
|
||||
{
|
||||
[Token(Token = "0x6002A22")]
|
||||
[Address(RVA = "0x2BFD1C0", Offset = "0x2BFC1C0", VA = "0x182BFD1C0", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000606 RID: 1542
|
||||
// (get) Token: 0x06002A23 RID: 10787 RVA: 0x00018690 File Offset: 0x00016890
|
||||
[Token(Token = "0x17000606")]
|
||||
internal bool IsDefaultContext
|
||||
{
|
||||
[Token(Token = "0x6002A23")]
|
||||
[Address(RVA = "0x2BFD3F0", Offset = "0x2BFC3F0", VA = "0x182BFD3F0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000607 RID: 1543
|
||||
// (get) Token: 0x06002A24 RID: 10788 RVA: 0x000186A8 File Offset: 0x000168A8
|
||||
[Token(Token = "0x17000607")]
|
||||
internal bool NeedsContextSink
|
||||
{
|
||||
[Token(Token = "0x6002A24")]
|
||||
[Address(RVA = "0x2BFD570", Offset = "0x2BFC570", VA = "0x182BFD570")]
|
||||
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: 0x06002A25 RID: 10789 RVA: 0x000186C0 File Offset: 0x000168C0
|
||||
[Token(Token = "0x6002A25")]
|
||||
[Address(RVA = "0x2BFCDE0", Offset = "0x2BFBDE0", VA = "0x182BFCDE0")]
|
||||
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: 0x06002A26 RID: 10790 RVA: 0x000186D8 File Offset: 0x000168D8
|
||||
[Token(Token = "0x6002A26")]
|
||||
[Address(RVA = "0x2BFD050", Offset = "0x2BFC050", VA = "0x182BFD050")]
|
||||
public static bool UnregisterDynamicProperty(string name, ContextBoundObject obj, Context ctx)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002A27 RID: 10791 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A27")]
|
||||
[Address(RVA = "0x2BFC600", Offset = "0x2BFB600", VA = "0x182BFC600")]
|
||||
private static DynamicPropertyCollection GetDynamicPropertyCollection(ContextBoundObject obj, Context ctx)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002A28 RID: 10792 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A28")]
|
||||
[Address(RVA = "0x2BFCCA0", Offset = "0x2BFBCA0", VA = "0x182BFCCA0")]
|
||||
internal static void NotifyGlobalDynamicSinks(bool start, IMessage req_msg, bool client_site, bool async)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000608 RID: 1544
|
||||
// (get) Token: 0x06002A29 RID: 10793 RVA: 0x000186F0 File Offset: 0x000168F0
|
||||
[Token(Token = "0x17000608")]
|
||||
internal static bool HasGlobalDynamicSinks
|
||||
{
|
||||
[Token(Token = "0x6002A29")]
|
||||
[Address(RVA = "0x2BFD340", Offset = "0x2BFC340", VA = "0x182BFD340")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002A2A RID: 10794 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A2A")]
|
||||
[Address(RVA = "0x2BFCC10", Offset = "0x2BFBC10", VA = "0x182BFCC10")]
|
||||
internal void NotifyDynamicSinks(bool start, IMessage req_msg, bool client_site, bool async)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000609 RID: 1545
|
||||
// (get) Token: 0x06002A2B RID: 10795 RVA: 0x00018708 File Offset: 0x00016908
|
||||
[Token(Token = "0x17000609")]
|
||||
internal bool HasDynamicSinks
|
||||
{
|
||||
[Token(Token = "0x6002A2B")]
|
||||
[Address(RVA = "0x2BFD220", Offset = "0x2BFC220", VA = "0x182BFD220")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700060A RID: 1546
|
||||
// (get) Token: 0x06002A2C RID: 10796 RVA: 0x00018720 File Offset: 0x00016920
|
||||
[Token(Token = "0x1700060A")]
|
||||
internal bool HasExitSinks
|
||||
{
|
||||
[Token(Token = "0x6002A2C")]
|
||||
[Address(RVA = "0x2BFD260", Offset = "0x2BFC260", VA = "0x182BFD260")]
|
||||
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: 0x06002A2D RID: 10797 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A2D")]
|
||||
[Address(RVA = "0x2BFC910", Offset = "0x2BFB910", VA = "0x182BFC910", 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: 0x06002A2E RID: 10798 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A2E")]
|
||||
[Address(RVA = "0x2BFCEC0", Offset = "0x2BFBEC0", VA = "0x182BFCEC0", 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: 0x06002A2F RID: 10799 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A2F")]
|
||||
[Address(RVA = "0x2BFC310", Offset = "0x2BFB310", VA = "0x182BFC310", 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: 0x06002A30 RID: 10800 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A30")]
|
||||
[Address(RVA = "0x2BFCFF0", Offset = "0x2BFBFF0", VA = "0x182BFCFF0", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002A31 RID: 10801 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A31")]
|
||||
[Address(RVA = "0x2BFCA90", Offset = "0x2BFBA90", VA = "0x182BFCA90")]
|
||||
internal IMessageSink GetServerContextSinkChain()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002A32 RID: 10802 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A32")]
|
||||
[Address(RVA = "0x2BFC480", Offset = "0x2BFB480", VA = "0x182BFC480")]
|
||||
internal IMessageSink GetClientContextSinkChain()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002A33 RID: 10803 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A33")]
|
||||
[Address(RVA = "0x2BFBF30", Offset = "0x2BFAF30", VA = "0x182BFBF30")]
|
||||
internal IMessageSink CreateServerObjectSinkChain(MarshalByRefObject obj, bool forceInternalExecute)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002A34 RID: 10804 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A34")]
|
||||
[Address(RVA = "0x2BFB760", Offset = "0x2BFA760", VA = "0x182BFB760")]
|
||||
internal IMessageSink CreateEnvoySink(MarshalByRefObject serverObject)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002A35 RID: 10805 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A35")]
|
||||
[Address(RVA = "0x2BFCFE0", Offset = "0x2BFBFE0", VA = "0x182BFCFE0")]
|
||||
internal static Context SwitchToContext(Context newContext)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002A36 RID: 10806 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A36")]
|
||||
[Address(RVA = "0x2BFB8C0", Offset = "0x2BFA8C0", VA = "0x182BFB8C0")]
|
||||
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: 0x06002A37 RID: 10807 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A37")]
|
||||
[Address(RVA = "0x2BFC0D0", Offset = "0x2BFB0D0", VA = "0x182BFC0D0")]
|
||||
public void DoCallBack(CrossContextDelegate deleg)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x1700060B RID: 1547
|
||||
// (get) Token: 0x06002A38 RID: 10808 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700060B")]
|
||||
private LocalDataStore MyLocalStore
|
||||
{
|
||||
[Token(Token = "0x6002A38")]
|
||||
[Address(RVA = "0x2BFD400", Offset = "0x2BFC400", VA = "0x182BFD400")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Allocates an unnamed data slot.</summary>
|
||||
/// <returns>A local data slot.</returns>
|
||||
// Token: 0x06002A39 RID: 10809 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A39")]
|
||||
[Address(RVA = "0x2BFB670", Offset = "0x2BFA670", VA = "0x182BFB670")]
|
||||
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: 0x06002A3A RID: 10810 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A3A")]
|
||||
[Address(RVA = "0x2BFB6E0", Offset = "0x2BFA6E0", VA = "0x182BFB6E0")]
|
||||
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: 0x06002A3B RID: 10811 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A3B")]
|
||||
[Address(RVA = "0x2BFC290", Offset = "0x2BFB290", VA = "0x182BFC290")]
|
||||
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: 0x06002A3C RID: 10812 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A3C")]
|
||||
[Address(RVA = "0x2BFC890", Offset = "0x2BFB890", VA = "0x182BFC890")]
|
||||
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: 0x06002A3D RID: 10813 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A3D")]
|
||||
[Address(RVA = "0x2BFC5C0", Offset = "0x2BFB5C0", VA = "0x182BFC5C0")]
|
||||
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: 0x06002A3E RID: 10814 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A3E")]
|
||||
[Address(RVA = "0x2BFCE70", Offset = "0x2BFBE70", VA = "0x182BFCE70")]
|
||||
public static void SetData(LocalDataStoreSlot slot, object data)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001849 RID: 6217
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001849")]
|
||||
private int domain_id;
|
||||
|
||||
// Token: 0x0400184A RID: 6218
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x400184A")]
|
||||
private int context_id;
|
||||
|
||||
// Token: 0x0400184B RID: 6219
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400184B")]
|
||||
private UIntPtr static_data;
|
||||
|
||||
// Token: 0x0400184C RID: 6220
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400184C")]
|
||||
private UIntPtr data;
|
||||
|
||||
// Token: 0x0400184D RID: 6221
|
||||
[Token(Token = "0x400184D")]
|
||||
[ContextStatic]
|
||||
private static object[] local_slots;
|
||||
|
||||
// Token: 0x0400184E RID: 6222
|
||||
[Token(Token = "0x400184E")]
|
||||
private static IMessageSink default_server_context_sink;
|
||||
|
||||
// Token: 0x0400184F RID: 6223
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400184F")]
|
||||
private IMessageSink server_context_sink_chain;
|
||||
|
||||
// Token: 0x04001850 RID: 6224
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4001850")]
|
||||
private IMessageSink client_context_sink_chain;
|
||||
|
||||
// Token: 0x04001851 RID: 6225
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4001851")]
|
||||
private List<IContextProperty> context_properties;
|
||||
|
||||
// Token: 0x04001852 RID: 6226
|
||||
[Token(Token = "0x4001852")]
|
||||
private static int global_count;
|
||||
|
||||
// Token: 0x04001853 RID: 6227
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4001853")]
|
||||
private LocalDataStoreHolder _localDataStore;
|
||||
|
||||
// Token: 0x04001854 RID: 6228
|
||||
[Token(Token = "0x4001854")]
|
||||
private static LocalDataStoreMgr _localDataStoreMgr;
|
||||
|
||||
// Token: 0x04001855 RID: 6229
|
||||
[Token(Token = "0x4001855")]
|
||||
private static DynamicPropertyCollection global_dynamic_properties;
|
||||
|
||||
// Token: 0x04001856 RID: 6230
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4001856")]
|
||||
private DynamicPropertyCollection context_dynamic_properties;
|
||||
|
||||
// Token: 0x04001857 RID: 6231
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4001857")]
|
||||
private ContextCallbackObject callback_object;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
// Token: 0x020004EB RID: 1259
|
||||
[Token(Token = "0x20004EB")]
|
||||
internal class ContextCallbackObject : ContextBoundObject
|
||||
{
|
||||
// Token: 0x06002A47 RID: 10823 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A47")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
|
||||
public void DoCallBack(CrossContextDelegate deleg)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002A48 RID: 10824 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A48")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
public ContextCallbackObject()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
using System;
|
||||
using System.Runtime.Remoting.Messaging;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.Remoting.Contexts
|
||||
{
|
||||
// Token: 0x020004EC RID: 1260
|
||||
[Token(Token = "0x20004EC")]
|
||||
internal class CrossContextChannel : IMessageSink
|
||||
{
|
||||
// Token: 0x06002A49 RID: 10825 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A49")]
|
||||
[Address(RVA = "0x2BFDA40", Offset = "0x2BFCA40", VA = "0x182BFDA40", Slot = "4")]
|
||||
public IMessage SyncProcessMessage(IMessage msg)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002A4A RID: 10826 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A4A")]
|
||||
[Address(RVA = "0x2BFD660", Offset = "0x2BFC660", VA = "0x182BFD660", Slot = "5")]
|
||||
public IMessageCtrl AsyncProcessMessage(IMessage msg, IMessageSink replySink)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002A4B RID: 10827 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A4B")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public CrossContextChannel()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x020004ED RID: 1261
|
||||
[Token(Token = "0x20004ED")]
|
||||
private class ContextRestoreSink : IMessageSink
|
||||
{
|
||||
// Token: 0x06002A4C RID: 10828 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A4C")]
|
||||
[Address(RVA = "0x466000", Offset = "0x465000", VA = "0x180466000")]
|
||||
public ContextRestoreSink(IMessageSink next, Context context, IMessage call)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002A4D RID: 10829 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A4D")]
|
||||
[Address(RVA = "0x2BFB460", Offset = "0x2BFA460", VA = "0x182BFB460", Slot = "4")]
|
||||
public IMessage SyncProcessMessage(IMessage msg)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002A4E RID: 10830 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002A4E")]
|
||||
[Address(RVA = "0x2BFB410", Offset = "0x2BFA410", VA = "0x182BFB410", Slot = "5")]
|
||||
public IMessageCtrl AsyncProcessMessage(IMessage msg, IMessageSink replySink)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400185B RID: 6235
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400185B")]
|
||||
private IMessageSink _next;
|
||||
|
||||
// Token: 0x0400185C RID: 6236
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400185C")]
|
||||
private Context _context;
|
||||
|
||||
// Token: 0x0400185D RID: 6237
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400185D")]
|
||||
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: 0x020004EE RID: 1262
|
||||
// (Invoke) Token: 0x06002A50 RID: 10832
|
||||
[Token(Token = "0x20004EE")]
|
||||
[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: 0x020004E9 RID: 1257
|
||||
[Token(Token = "0x20004E9")]
|
||||
internal class DynamicPropertyCollection
|
||||
{
|
||||
// Token: 0x1700060C RID: 1548
|
||||
// (get) Token: 0x06002A40 RID: 10816 RVA: 0x00018738 File Offset: 0x00016938
|
||||
[Token(Token = "0x1700060C")]
|
||||
public bool HasProperties
|
||||
{
|
||||
[Token(Token = "0x6002A40")]
|
||||
[Address(RVA = "0x2BFED80", Offset = "0x2BFDD80", VA = "0x182BFED80")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002A41 RID: 10817 RVA: 0x00018750 File Offset: 0x00016950
|
||||
[Token(Token = "0x6002A41")]
|
||||
[Address(RVA = "0x2BFEA10", Offset = "0x2BFDA10", VA = "0x182BFEA10")]
|
||||
public bool RegisterDynamicProperty(IDynamicProperty prop)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002A42 RID: 10818 RVA: 0x00018768 File Offset: 0x00016968
|
||||
[Token(Token = "0x6002A42")]
|
||||
[Address(RVA = "0x2BFEBE0", Offset = "0x2BFDBE0", VA = "0x182BFEBE0")]
|
||||
public bool UnregisterDynamicProperty(string name)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002A43 RID: 10819 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A43")]
|
||||
[Address(RVA = "0x2BFE560", Offset = "0x2BFD560", VA = "0x182BFE560")]
|
||||
public void NotifyMessage(bool start, IMessage msg, bool client_site, bool async)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002A44 RID: 10820 RVA: 0x00018780 File Offset: 0x00016980
|
||||
[Token(Token = "0x6002A44")]
|
||||
[Address(RVA = "0x2BFE3E0", Offset = "0x2BFD3E0", VA = "0x182BFE3E0")]
|
||||
private int FindProperty(string name)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06002A45 RID: 10821 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A45")]
|
||||
[Address(RVA = "0x2BFED20", Offset = "0x2BFDD20", VA = "0x182BFED20")]
|
||||
public DynamicPropertyCollection()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001858 RID: 6232
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001858")]
|
||||
private ArrayList _properties;
|
||||
|
||||
// Token: 0x020004EA RID: 1258
|
||||
[Token(Token = "0x20004EA")]
|
||||
private class DynamicPropertyReg
|
||||
{
|
||||
// Token: 0x06002A46 RID: 10822 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002A46")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public DynamicPropertyReg()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001859 RID: 6233
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001859")]
|
||||
public IDynamicProperty Property;
|
||||
|
||||
// Token: 0x0400185A RID: 6234
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400185A")]
|
||||
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: 0x020004EF RID: 1263
|
||||
[Token(Token = "0x20004EF")]
|
||||
[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: 0x06002A53 RID: 10835
|
||||
[Token(Token = "0x6002A53")]
|
||||
[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: 0x06002A54 RID: 10836
|
||||
[Token(Token = "0x6002A54")]
|
||||
[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: 0x020004F0 RID: 1264
|
||||
[Token(Token = "0x20004F0")]
|
||||
[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: 0x1700060D RID: 1549
|
||||
// (get) Token: 0x06002A55 RID: 10837
|
||||
[Token(Token = "0x1700060D")]
|
||||
string Name
|
||||
{
|
||||
[Token(Token = "0x6002A55")]
|
||||
[Address(Slot = "0")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Called when the context is frozen.</summary>
|
||||
/// <param name="newContext">The context to freeze.</param>
|
||||
// Token: 0x06002A56 RID: 10838
|
||||
[Token(Token = "0x6002A56")]
|
||||
[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: 0x06002A57 RID: 10839
|
||||
[Token(Token = "0x6002A57")]
|
||||
[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: 0x020004F1 RID: 1265
|
||||
[Token(Token = "0x20004F1")]
|
||||
[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: 0x06002A58 RID: 10840
|
||||
[Token(Token = "0x6002A58")]
|
||||
[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: 0x020004F2 RID: 1266
|
||||
[Token(Token = "0x20004F2")]
|
||||
[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: 0x06002A59 RID: 10841
|
||||
[Token(Token = "0x6002A59")]
|
||||
[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: 0x020004F3 RID: 1267
|
||||
[Token(Token = "0x20004F3")]
|
||||
[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: 0x06002A5A RID: 10842
|
||||
[Token(Token = "0x6002A5A")]
|
||||
[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: 0x020004F4 RID: 1268
|
||||
[Token(Token = "0x20004F4")]
|
||||
[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: 0x06002A5B RID: 10843
|
||||
[Token(Token = "0x6002A5B")]
|
||||
[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: 0x020004F5 RID: 1269
|
||||
[Token(Token = "0x20004F5")]
|
||||
[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: 0x06002A5C RID: 10844
|
||||
[Token(Token = "0x6002A5C")]
|
||||
[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: 0x020004F6 RID: 1270
|
||||
[Token(Token = "0x20004F6")]
|
||||
[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: 0x06002A5D RID: 10845
|
||||
[Token(Token = "0x6002A5D")]
|
||||
[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: 0x06002A5E RID: 10846
|
||||
[Token(Token = "0x6002A5E")]
|
||||
[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: 0x020004F7 RID: 1271
|
||||
[Token(Token = "0x20004F7")]
|
||||
[ComVisible(true)]
|
||||
public interface IDynamicProperty
|
||||
{
|
||||
/// <summary>Gets the name of the dynamic property.</summary>
|
||||
/// <returns>The name of the dynamic property.</returns>
|
||||
// Token: 0x1700060E RID: 1550
|
||||
// (get) Token: 0x06002A5F RID: 10847
|
||||
[Token(Token = "0x1700060E")]
|
||||
string Name
|
||||
{
|
||||
[Token(Token = "0x6002A5F")]
|
||||
[Address(Slot = "0")]
|
||||
get;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user