public void VisitInvokeExpression(InvokeExpression node) { foreach (var arg in node.Arguments) { arg.Accept(this); } var method = node.GetMethod(_context); _emitter.Emit(OpCodes.Call, method); if (NeedStackBalancing(node, method)) { _emitter.Emit(OpCodes.Pop); } }
public void VisitInvokeExpression(InvokeExpression node) => InferSimpleType(node.GetMethod(_context).ReturnType);