public override ExpressionEmitter Prepare( IMethodInformation method, DecodeContext decodeContext) { if (method.IsStatic) { throw new InvalidProgramSequenceException( "Invalid method token (static): Location={0}, Method={1}", decodeContext.CurrentCode.RawLocation, method.FriendlyName); } return(CallConverterUtilities.Prepare(method, decodeContext, true)); }
public override ExpressionEmitter Prepare( IMethodInformation method, DecodeContext decodeContext) { return(CallConverterUtilities.Prepare(method, decodeContext, false)); }