using System;
using System.Reflection;
using System.Reflection.Emit;
namespace Pole.Core.Utils.Emit
{
///
/// 用来生成模式匹配方法调用的方法信息
///
public class SwitchMethodEmit
{
///
/// 方法
///
public MethodInfo Mehod { get; set; }
///
/// 匹配的类型
///
public Type CaseType { get; set; }
///
/// 局部变量
///
public LocalBuilder DeclareLocal { get; set; }
///
/// 方法调用Lable
///
public Label Lable { get; set; }
///
/// 方法的参数
///
public ParameterInfo[] Parameters { get; set; }
///
/// 方法在类中的顺序
///
public int Index { get; set; }
}
}