public EmitAnyLdarga ( int argumentIndex ) : void | ||
argumentIndex | int | |
return | void |
public override void LoadValue( TracingILGenerator il, bool shouldBeAddress ) { this.Evaluate( il ); il.TraceWriteLine( "// Load->: {0}", this ); if ( this.ContextType.ResolveRuntimeType().GetIsValueType() && shouldBeAddress ) { if ( this._isLocal ) { il.EmitAnyLdloca( this._index ); } else { il.EmitAnyLdarga( this._index ); } } else { if ( this._isLocal ) { il.EmitAnyLdloc( this._index ); } else { il.EmitAnyLdarg( this._index ); } } il.TraceWriteLine( "// ->Load: {0}", this ); }
private static void EmitLoadTarget( Type targetType, TracingILGenerator il, int parameterIndex ) { if ( targetType.IsValueType ) { il.EmitAnyLdarga( parameterIndex ); } else { il.EmitAnyLdarg( parameterIndex ); } }