Ejemplo n.º 1
0
 public static EmitUnaryExpression PreDecrement(this EmitVariableDeclarationStatement operand)
 {
     return(new EmitUnaryExpression(EmitUnaryOperator.PrefixDecrement, operand));
 }
Ejemplo n.º 2
0
 public static EmitForStatement For(EmitVariableDeclarationStatement initializer = null, EmitExpression predicate = null,
                                    IEmitStatement incrementor = null, IEmitStatement body = null)
 {
     return(new EmitForStatement(initializer, predicate, incrementor, body));
 }
Ejemplo n.º 3
0
 public static EmitBinaryExpression Modulus(this EmitVariableDeclarationStatement left, EmitExpression right)
 {
     return(new EmitBinaryExpression(left, EmitBinaryOperator.Modulus, right));
 }
Ejemplo n.º 4
0
 public static EmitBinaryExpression ShiftRightAssign(this EmitVariableDeclarationStatement left, EmitExpression right)
 {
     return(new EmitBinaryExpression(left, EmitBinaryOperator.ShiftRightAssign, right));
 }
Ejemplo n.º 5
0
 public static EmitBinaryExpression Assign(this EmitVariableDeclarationStatement left, EmitExpression right)
 {
     return(new EmitBinaryExpression(left.Variables.Single(), EmitBinaryOperator.Assign, right));
 }