ToString() public method

public ToString ( ) : String
return String
コード例 #1
0
ファイル: RegExpPrototype.cs プロジェクト: raj581/Marvin
        public static string toString(object thisObj)
        {
            SemanticAnalyser.assert_type(thisObj, typeof(RegExpObject));
            RegExpObject re = (RegExpObject)thisObj;

            return(re.ToString());
        }
コード例 #2
0
        public static string toString(object thisob)
        {
            RegExpObject obj2 = thisob as RegExpObject;

            if (obj2 == null)
            {
                throw new JScriptException(JSError.RegExpExpected);
            }
            return(obj2.ToString());
        }
コード例 #3
0
        public static String toString(Object thisob)
        {
            RegExpObject regExpObject = thisob as RegExpObject;

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