Ejemplo n.º 1
0
 public BooleanExpressionVariableCoder Load(LocalVariable variable)
 {
     InstructionBlock.CreateCodeForVariableDefinition(this, variable.Type, variable);
     return(new BooleanExpressionVariableCoder(this, variable.Type));
 }
Ejemplo n.º 2
0
 protected void StoreElementInternal(BuilderType arrayType, object element, LocalVariable index)
 {
     InstructionBlock.CreateCodeForVariableDefinition(this.instructions, BuilderTypes.Int32, index);
     this.instructions.Append(InstructionBlock.CreateCode(this.instructions, arrayType.ChildType, element));
     this.instructions.Emit(OpCodes.Stelem_Ref);
 }