Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

456 lines
17 KiB
C#

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;
}
}