This commit is contained in:
jfrijters 2009-10-15 06:17:23 +00:00
Родитель 294c1dc6c9
Коммит d53f46aa7c
1 изменённых файлов: 37 добавлений и 0 удалений

37
runtime/Types.cs Normal file
Просмотреть файл

@ -0,0 +1,37 @@
using System;
namespace IKVM.Internal
{
static class Types
{
internal static readonly Type Object = JVM.Import(typeof(System.Object));
internal static readonly Type ValueType = JVM.Import(typeof(System.ValueType));
internal static readonly Type Enum = JVM.Import(typeof(System.Enum));
internal static readonly Type Type = JVM.Import(typeof(System.Type));
internal static readonly Type String = JVM.Import(typeof(System.String));
internal static readonly Type Exception = JVM.Import(typeof(System.Exception));
internal static readonly Type Array = JVM.Import(typeof(System.Array));
internal static readonly Type Attribute = JVM.Import(typeof(System.Attribute));
internal static readonly Type Delegate = JVM.Import(typeof(System.Delegate));
internal static readonly Type MulticastDelegate = JVM.Import(typeof(System.MulticastDelegate));
internal static readonly Type RuntimeTypeHandle = JVM.Import(typeof(System.RuntimeTypeHandle));
internal static readonly Type IntPtr = JVM.Import(typeof(System.IntPtr));
internal static readonly Type Void = JVM.Import(typeof(void));
internal static readonly Type Boolean = JVM.Import(typeof(System.Boolean));
internal static readonly Type Byte = JVM.Import(typeof(System.Byte));
internal static readonly Type SByte = JVM.Import(typeof(System.SByte));
internal static readonly Type Char = JVM.Import(typeof(System.Char));
internal static readonly Type Int16 = JVM.Import(typeof(System.Int16));
internal static readonly Type UInt16 = JVM.Import(typeof(System.UInt16));
internal static readonly Type Int32 = JVM.Import(typeof(System.Int32));
internal static readonly Type UInt32 = JVM.Import(typeof(System.UInt32));
internal static readonly Type Int64 = JVM.Import(typeof(System.Int64));
internal static readonly Type UInt64 = JVM.Import(typeof(System.UInt64));
internal static readonly Type Single = JVM.Import(typeof(System.Single));
internal static readonly Type Double = JVM.Import(typeof(System.Double));
// we want deterministics initialization
static Types() { }
}
}