Cosmos/source2/IL2PCU/Cosmos.IL2CPU/MethodInfo.cs
2009-09-07 16:58:02 +00:00

28 lines
783 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Cosmos.IL2CPU {
public class MethodInfo {
public enum TypeEnum { Normal, Plug, NeedsPlug };
public readonly MethodBase MethodBase;
public readonly TypeEnum Type;
public readonly UInt32 UID;
public readonly MethodInfo PlugMethod;
public MethodInfo(MethodBase aMethodBase, UInt32 aUID, TypeEnum aType, MethodInfo aPlugMethod)
: this(aMethodBase, aUID, aType) {
PlugMethod = aPlugMethod;
}
public MethodInfo(MethodBase aMethodBase, UInt32 aUID, TypeEnum aType) {
MethodBase = aMethodBase;
UID = aUID;
Type = aType;
}
}
}