Jurassic.Compiler.DynamicILGenerator.CallVirtual C# (CSharp) Method

CallVirtual() public method

Pops the method arguments off the stack, calls the given method, then pushes the result to the stack (if there was one). This operation cannot be used to call static methods. Virtual overrides are obeyed and a null check is performed.
The method is static.
public CallVirtual ( System method ) : void
method System The method to call.
return void
        public override void CallVirtual(System.Reflection.MethodBase method)
        {
            if (method == null)
                throw new ArgumentNullException("method");
            if (method.IsStatic == true)
                throw new ArgumentException("Static methods cannot be called using this method.", "method");

            // Emit the callvirt instruction.
            EmitCall(0x6F, method);
        }
DynamicILGenerator