Example #1
0
        private TypeInfo Visit(CallvirtNode node, MethodBuilder builder, CodegenContext context)
        {
            Visit(node.Where as dynamic, builder, context);

            foreach (dynamic item in node.Args)
            {
                Visit(item, builder, context);
            }

            var methodInfo = node.Method;

            builder.Callvirt(methodInfo);

            return(methodInfo.Ret);
        }