ToString() public method

public ToString ( ) : String
return String
Beispiel #1
0
        public static string toString(object thisObj)
        {
            SemanticAnalyser.assert_type(thisObj, typeof(RegExpObject));
            RegExpObject re = (RegExpObject)thisObj;

            return(re.ToString());
        }
        public static string toString(object thisob)
        {
            RegExpObject obj2 = thisob as RegExpObject;

            if (obj2 == null)
            {
                throw new JScriptException(JSError.RegExpExpected);
            }
            return(obj2.ToString());
        }
        public static String toString(Object thisob)
        {
            RegExpObject regExpObject = thisob as RegExpObject;

            if (regExpObject == null)
            {
                throw new JScriptException(JSError.RegExpExpected);
            }
            return(regExpObject.ToString());
        }