abstract private EmitLdc ( |
||
method | ||
Результат |
public FluentEmitter Div(MagicNumberArgument divisor) { if (divisor.IsZero) throw new DivideByZeroException("this instruction will cause a DivideByZeroException"); return divisor.EmitLdc(this) .Emit(OpCodes.Div); }
public FluentEmitter DivUn(MagicNumberArgument divisor) { if (divisor.IsZero) { throw new DivideByZeroException("this instruction will cause a DivideByZeroException"); } return(divisor.EmitLdc(this) .Emit(OpCodes.Div_Un)); }
public FluentEmitter Mul(MagicNumberArgument arg) { return arg.EmitLdc(this) .Emit(OpCodes.Mul); }
public FluentEmitter Sub(MagicNumberArgument arg) { return arg.EmitLdc(this) .Emit(OpCodes.Sub); }
public FluentEmitter RemUn(MagicNumberArgument divisor) { return divisor.EmitLdc(this) .Emit(OpCodes.Rem_Un); }
public FluentEmitter Mul(MagicNumberArgument arg) { return(arg.EmitLdc(this) .Emit(OpCodes.Mul)); }
public FluentEmitter RemUn(MagicNumberArgument divisor) { return(divisor.EmitLdc(this) .Emit(OpCodes.Rem_Un)); }