Added Mono.Tasklets test
[mono.git] / mcs / class / corlib / Mono / RuntimeStructs.cs
1 //
2 // Mono runtime native structs surfaced to managed code.
3 //
4 // Authors:
5 //   Aleksey Kliger <aleksey@xamarin.com>
6 //   Rodrigo Kumpera <kumpera@xamarin.com>
7 //
8 // Copyright 2016 Dot net foundation.
9 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
10 //
11
12 using System;
13 using System.Runtime.InteropServices;
14
15 namespace Mono {
16         internal class RuntimeStructs {
17                 // class-internals.h MonoRemoteClass
18                 [StructLayout(LayoutKind.Sequential)]
19                 internal unsafe struct RemoteClass {
20                         internal IntPtr default_vtable;
21                         internal IntPtr xdomain_vtable;
22                         internal MonoClass* proxy_class;
23                         internal IntPtr proxy_class_name;
24                         internal uint interface_count;
25                         // FIXME: How to represent variable-length array struct member?
26                         // MonoClass* interfaces [];
27                 }
28
29                 internal struct MonoClass {
30                 }
31         }
32
33 }
34