Exemplo n.º 1
0
        public override void Emit(MethodDefinition md, Instruction c, AssemblyWriter writer)
        {
            writer.Call(Compiler.NormaliseName(c.Operand.ToString()));

            var x = ((MethodReference)c.Operand).Resolve();

            if (!x.HasParameters)
            {
                return;
            }


            writer.Add("esp", ((x.Parameters.Count) * 4).ToString());
        }