Cosmos/source/Cosmos.IL2CPU/CustomImplementation/System/ObjectImplRefs.cs
2014-11-26 01:13:58 +00:00

18 lines
No EOL
484 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace Cosmos.IL2CPU {
public static class ObjectImplRefs {
static ObjectImplRefs() {
Type xType = typeof(object);
Object_Ctor = xType.GetMethod("Ctor", new Type[] { typeof(IntPtr) });
if (Object_Ctor == null)
throw new Exception("Implementation of Object_Ctor not found!");
}
public static readonly MethodBase Object_Ctor;
}
}