Microsoft.JScript.JSClosureMethod.Invoke C# (CSharp) Method

Invoke() private method

private Invoke ( Object obj, Object thisob, BindingFlags options, Binder binder, Object parameters, CultureInfo culture ) : Object
obj Object
thisob Object
options BindingFlags
binder Binder
parameters Object
culture System.Globalization.CultureInfo
return Object
      internal override Object Invoke(Object obj, Object thisob, BindingFlags options, Binder binder, Object[] parameters, CultureInfo culture){
        if (obj is StackFrame)
          return this.method.Invoke(((StackFrame)((StackFrame)obj).engine.ScriptObjectStackTop()).closureInstance, options, binder, parameters, culture);
        throw new JScriptException(JSError.InternalError); //should never happen at compile time.
      }