2 // Mono.ILASM.LdstrInstr
5 // Jackson Harper (Jackson@LatitudeGeo.com)
7 // (C) 2003 Jackson Harper, All rights reserved
13 namespace Mono
.ILASM
{
15 public class LdstrInstr
: IInstr
{
17 private string operand
;
18 private byte[] b_operand
;
20 public LdstrInstr (string operand
, Location loc
)
23 this.operand
= operand
;
26 public LdstrInstr (byte[] b_operand
, Location loc
)
29 this.b_operand
= b_operand
;
32 public override void Emit (CodeGen code_gen
, MethodDef meth
,
33 PEAPI
.CILInstructions cil
)
38 cil
.ldstr (b_operand
);