Microsoft.JScript.Class.GetSuperConstructor C# (CSharp) Method

GetSuperConstructor() private method

private GetSuperConstructor ( IReflect argIRs ) : ConstructorInfo
argIRs IReflect
return System.Reflection.ConstructorInfo
      internal ConstructorInfo GetSuperConstructor(IReflect[] argIRs){
        Object val = null;
        if (this.superTypeExpression != null)
          val = this.superTypeExpression.Evaluate();
        else
          val = Typeob.Object;
        if (val is ClassScope)
          return JSBinder.SelectConstructor(((ClassScope)val).constructors, argIRs);
        else
          return JSBinder.SelectConstructor(((Type)val).GetConstructors(BindingFlags.Public|BindingFlags.NonPublic|BindingFlags.Instance), argIRs);
      }