ef583813eb
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
29 lines
620 B
C#
29 lines
620 B
C#
using System.Runtime.Remoting.Messaging;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Runtime.Remoting.Contexts
|
|
{
|
|
[StructLayout (LayoutKind.Sequential)]
|
|
public sealed class Context
|
|
{
|
|
#region Keep this code, it is used by the runtime
|
|
#pragma warning disable 169, 414
|
|
int domain_id;
|
|
int context_id;
|
|
UIntPtr static_data; /* GC-tracked */
|
|
UIntPtr data;
|
|
|
|
[ContextStatic]
|
|
static object[] local_slots;
|
|
#pragma warning restore 169, 414
|
|
|
|
internal bool NeedsContextSink => throw new PlatformNotSupportedException ();
|
|
#endregion
|
|
|
|
Context ()
|
|
{
|
|
throw new PlatformNotSupportedException ();
|
|
}
|
|
}
|
|
}
|