Microsoft.JScript.ErrorConstructor.ErrorConstructor C# (CSharp) Method

ErrorConstructor() private method

private ErrorConstructor ( ) : System
return System
      internal ErrorConstructor()
        : base(ErrorPrototype.ob, "Error", 2) {
        this.originalPrototype = ErrorPrototype.ob;
        ErrorPrototype.ob._constructor = this;
        this.proto = ErrorPrototype.ob;
        this.type = ErrorType.OtherError;
        this.globalObject = GlobalObject.commonInstance;
      }
    

Same methods

ErrorConstructor::ErrorConstructor ( LenientFunctionPrototype parent, LenientErrorPrototype prototypeProp, GlobalObject globalObject ) : System
ErrorConstructor::ErrorConstructor ( String subtypeName, ErrorType type ) : System
ErrorConstructor::ErrorConstructor ( String subtypeName, ErrorType type, ErrorConstructor error, GlobalObject globalObject ) : System