Cosmos/source2/IL2CPU/Cosmos.IL2CPU/CustomImplementation/System/ObjectImplRefs.cs
2010-09-04 19:07:11 +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;
}
}