Jurassic.Compiler.DynamicILGenerator.CallVirtual C# (CSharp) 메소드

CallVirtual() 공개 메소드

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.
리턴 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