2 // Mono.ILASM.TypeInstr
5 // Jackson Harper (Jackson@LatitudeGeo.com)
7 // (C) 2003 Jackson Harper, All rights reserved
13 namespace Mono
.ILASM
{
15 public class TypeInstr
: IInstr
{
17 private PEAPI
.TypeOp op
;
18 private BaseTypeRef operand
;
20 public TypeInstr (PEAPI
.TypeOp op
, BaseTypeRef operand
, Location loc
)
24 this.operand
= operand
;
27 public override void Emit (CodeGen code_gen
, MethodDef meth
,
28 PEAPI
.CILInstructions cil
)
30 operand
.Resolve (code_gen
);
31 cil
.TypeInst (op
, operand
.PeapiType
);