marked as built in
authorCésar Natarén <cesar@mono-cvs.ximian.com>
Thu, 26 Aug 2004 05:53:32 +0000 (05:53 -0000)
committerCésar Natarén <cesar@mono-cvs.ximian.com>
Thu, 26 Aug 2004 05:53:32 +0000 (05:53 -0000)
svn path=/trunk/mcs/; revision=32864

mcs/class/Microsoft.JScript/Microsoft.JScript/NumberPrototype.cs

index b272d2ed7ceceadae6d666fd379a984c66653813..0a0554068b8728fe5b6912f55cf1fa81b46d7657 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-namespace Microsoft.JScript.Tmp
-{
-       using System;
+using System;
+
+namespace Microsoft.JScript {
+
+       public class NumberPrototype : NumberObject {
 
-       public class NumberPrototype : NumberObject
-       {
                public static NumberConstructor constructor {
                        get { throw new NotImplementedException (); }
                }
 
-
+               [JSFunctionAttribute (JSFunctionAttributeEnum.HasThisObject, JSBuiltin.Number_toExponential)]
                public static string toExponential (object thisObj, object fractionDigits)
                {
                        throw new NotImplementedException ();
                }
 
-
+               [JSFunctionAttribute (JSFunctionAttributeEnum.HasThisObject, JSBuiltin.Number_toFixed)]
                public static string toFixed (object thisObj, double fractionDigits)
                {
                        throw new NotImplementedException ();
                }
 
-
-               public static string toLocalString (object thisObj)
+               [JSFunctionAttribute (JSFunctionAttributeEnum.HasThisObject, JSBuiltin.Number_toLocaleString)]
+               public static string toLocaleString (object thisObj)
                {
                        throw new NotImplementedException ();
                }
 
-
+               [JSFunctionAttribute (JSFunctionAttributeEnum.HasThisObject, JSBuiltin.Number_toPrecision)]
                public static string toPrecision (object thisObj, object precision)
                {
                        throw new NotImplementedException ();
                }
 
-
+               [JSFunctionAttribute (JSFunctionAttributeEnum.HasThisObject, JSBuiltin.Number_toString)]
                public static string toString (object thisObj, object radix)
                {
                        throw new NotImplementedException ();
                }
 
-
+               [JSFunctionAttribute (JSFunctionAttributeEnum.HasThisObject, JSBuiltin.Number_valueOf)]
                public static object valueOf (object thisObj)
                {
                        throw new NotImplementedException ();
                }
        }
-}
\ No newline at end of file
+}