dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System AppDomain.cs,1.13,1.14


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System AppDomain.cs,1.13,1.14 Array.cs,1.20,1.21 AttributeTargets.cs,1.2,1.3 Console.cs,1.8,1.9 Convert.cs,1.10,1.11 Decimal.cs,1.10,1.11 Environment.cs,1.10,1.11 Exception.cs,1.17,1.18 GC.cs,1.3,1.4 LoaderOptimization.cs,1.2,1.3 LogLevel.cs,1.1.1.1,1.2 Math.cs,1.7,1.8 MissingMemberException.cs,1.6,1.7 PlatformID.cs,1.2,1.3 Random.cs,1.3,1.4 String.cs,1.31,1.32 Version.cs,1.9,1.10
Date: Tue, 15 Apr 2003 00:37:46 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System
In directory subversions:/tmp/cvs-serv15684/runtime/System

Modified Files:
        AppDomain.cs Array.cs AttributeTargets.cs Console.cs 
        Convert.cs Decimal.cs Environment.cs Exception.cs GC.cs 
        LoaderOptimization.cs LogLevel.cs Math.cs 
        MissingMemberException.cs PlatformID.cs Random.cs String.cs 
        Version.cs 
Log Message:


Various ECMA-compatibility fixes.


Index: AppDomain.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/AppDomain.cs,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** AppDomain.cs        2 Apr 2003 05:21:09 -0000       1.13
--- AppDomain.cs        15 Apr 2003 04:37:44 -0000      1.14
***************
*** 23,26 ****
--- 23,27 ----
  
  using System.Security;
+ using System.IO;
  using System.Collections;
  using System.Reflection;
***************
*** 223,227 ****
                                {
                                        setup.PrivateBinPath =
!                                               previous + 
Environment.PathSeparatorChar + path;
                                }
                        }
--- 224,228 ----
                                {
                                        setup.PrivateBinPath =
!                                               previous + Path.PathSeparator + 
path;
                                }
                        }

Index: Array.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Array.cs,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** Array.cs    15 Apr 2003 01:05:27 -0000      1.20
--- Array.cs    15 Apr 2003 04:37:44 -0000      1.21
***************
*** 718,722 ****
        // Get the length of an array rank.
        [MethodImpl(MethodImplOptions.InternalCall)]
!       extern public int GetLength(int dimension);
  
        // Get the lower bound of an array rank.
--- 718,727 ----
        // Get the length of an array rank.
        [MethodImpl(MethodImplOptions.InternalCall)]
! #if ECMA_COMPAT
!       internal
! #else
!       public
! #endif
!       extern int GetLength(int dimension);
  
        // Get the lower bound of an array rank.
***************
*** 783,788 ****
  
        // Inner version of "IndexOf".
!       public static int InnerIndexOf(Array array, Object value,
!                                                                  int start, 
int length)
        {
                Object elem;
--- 788,793 ----
  
        // Inner version of "IndexOf".
!       private static int InnerIndexOf(Array array, Object value,
!                                                                   int start, 
int length)
        {
                Object elem;
***************
*** 808,813 ****
  
        // Inner version of "LastIndexOf".
!       public static int InnerLastIndexOf(Array array, Object value,
!                                                                      int 
start, int length)
        {
                Object elem;
--- 813,818 ----
  
        // Inner version of "LastIndexOf".
!       private static int InnerLastIndexOf(Array array, Object value,
!                                                                       int 
start, int length)
        {
                Object elem;
***************
*** 954,958 ****
  
        // Inner version of "Reverse".
!       public static void InnerReverse(Array array, int lower, int upper)
        {
                Object temp;
--- 959,963 ----
  
        // Inner version of "Reverse".
!       private static void InnerReverse(Array array, int lower, int upper)
        {
                Object temp;

Index: AttributeTargets.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/AttributeTargets.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** AttributeTargets.cs 23 Oct 2001 06:08:03 -0000      1.2
--- AttributeTargets.cs 15 Apr 2003 04:37:44 -0000      1.3
***************
*** 39,44 ****
        Delegate                = 0x1000,
        ReturnValue             = 0x2000,
!       All                             = 0x3FFF,
!       ClassMembers    = 0x17FC
  
  }; // enum AttributeTargets
--- 39,43 ----
        Delegate                = 0x1000,
        ReturnValue             = 0x2000,
!       All                             = 0x3FFF
  
  }; // enum AttributeTargets

Index: Console.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Console.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** Console.cs  4 Jan 2003 00:27:01 -0000       1.8
--- Console.cs  15 Apr 2003 04:37:44 -0000      1.9
***************
*** 35,38 ****
--- 35,41 ----
        private static TextWriter stderr = null;
  
+       // This class cannot be instantiated.
+       private Console() {}
+ 
        // Open the standard input stream.
        public static Stream OpenStandardInput()

Index: Convert.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Convert.cs,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** Convert.cs  15 Apr 2003 01:05:27 -0000      1.10
--- Convert.cs  15 Apr 2003 04:37:44 -0000      1.11
***************
*** 38,41 ****
--- 38,44 ----
  #endif // !ECMA_COMPAT
  
+       // This class cannot be instantiated.
+       private Convert() {}
+ 
        // Convert various types into Boolean.
        public static bool ToBoolean(bool value) { return value; }

Index: Decimal.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Decimal.cs,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** Decimal.cs  27 Nov 2002 14:37:27 -0000      1.10
--- Decimal.cs  15 Apr 2003 04:37:44 -0000      1.11
***************
*** 96,104 ****
                                        return y;
                        }
-       [Obsolete("Use Decimal.Remainder instead")]
-       public static decimal Mod(decimal x, decimal y)
-                       {
-                               return Remainder(x, y);
-                       }
  
        // Declared operators.
--- 96,99 ----

Index: Environment.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Environment.cs,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** Environment.cs      28 Nov 2002 22:55:23 -0000      1.10
--- Environment.cs      15 Apr 2003 04:37:44 -0000      1.11
***************
*** 2,6 ****
   * Environment.cs - Implementation of the "System.Environment" class.
   *
!  * Copyright (C) 2001, 2002  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
--- 2,6 ----
   * Environment.cs - Implementation of the "System.Environment" class.
   *
!  * Copyright (C) 2001, 2002, 2003  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 35,44 ****
        private static int exitCode = 0;
  
!       // Separators for directories, paths, etc.
!       public static readonly char   DirectorySeparatorChar;
!       public static readonly char   AltDirectorySeparatorChar;
!       public static readonly char   VolumeSeparatorChar;
!       public static readonly char   PathSeparatorChar;
!       public static readonly char[] InvalidPathChars;
  
        // Initialize the environment state.
--- 35,40 ----
        private static int exitCode = 0;
  
!       // This class cannot be instantiated.
!       private Environment() {}
  
        // Initialize the environment state.
***************
*** 55,78 ****
                                        newLine = "\n";
                                }
- 
-                               // Get the path character information.
-                               try
-                               {
-                                       PathInfo pathInfo = 
DirMethods.GetPathInfo();
-                                       DirectorySeparatorChar = 
pathInfo.dirSeparator;
-                                       AltDirectorySeparatorChar = 
pathInfo.altDirSeparator;
-                                       VolumeSeparatorChar = 
pathInfo.volumeSeparator;
-                                       PathSeparatorChar = 
pathInfo.pathSeparator;
-                                       InvalidPathChars = 
pathInfo.invalidPathChars;
-                               }
-                               catch(NotImplementedException)
-                               {
-                                       // The runtime engine does not have 
directory support.
-                                       DirectorySeparatorChar = '/';
-                                       AltDirectorySeparatorChar = '\0';
-                                       VolumeSeparatorChar = '\0';
-                                       PathSeparatorChar = ':';
-                                       InvalidPathChars = null;
-                               }
                        }
  
--- 51,54 ----
***************
*** 109,122 ****
                        }
  
-       // Determine if we are running on Windows 95.
-       public static bool IsWin95
-                       {
-                               get
-                               {
-                                       // As far as the caller is concerned, 
Win95 doesn't exist.
-                                       return false;
-                               }
-                       }
- 
        // Determine if application shutdown has started.
        public static bool HasShutdownStarted
--- 85,88 ----
***************
*** 137,158 ****
                        }
  
-       // Get the "System" directory.
-       public static String SystemDirectory
-                       {
-                               get
-                               {
-                                       String dir = 
DirMethods.GetSystemDirectory();
-                                       if(dir != null)
-                                       {
-                                               return dir;
-                                       }
-                                       else
-                                       {
-                                               throw new NotSupportedException
-                                                       
(_("Exception_NoSystemDir"));
-                                       }
-                               }
-                       }
- 
        // Get the version of the runtime engine.
        public static Version Version
--- 103,106 ----
***************
*** 216,219 ****
--- 164,185 ----
  
  #if !ECMA_COMPAT
+ 
+       // Get the "System" directory.
+       public static String SystemDirectory
+                       {
+                               get
+                               {
+                                       String dir = 
DirMethods.GetSystemDirectory();
+                                       if(dir != null)
+                                       {
+                                               return dir;
+                                       }
+                                       else
+                                       {
+                                               throw new NotSupportedException
+                                                       
(_("Exception_NoSystemDir"));
+                                       }
+                               }
+                       }
  
        // Get or set the current working directory.

Index: Exception.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Exception.cs,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** Exception.cs        7 Apr 2003 01:30:52 -0000       1.17
--- Exception.cs        15 Apr 2003 04:37:44 -0000      1.18
***************
*** 61,68 ****
        private String message;
        private Exception innerException;
-       private String helpLink;
-       private String source;
        private PackedStackFrame[] stackTrace;
  #if !ECMA_COMPAT
        private int hresult;
        private bool hresultSet;
--- 61,68 ----
        private String message;
        private Exception innerException;
        private PackedStackFrame[] stackTrace;
  #if !ECMA_COMPAT
+       private String source;
+       private String helpLink;
        private int hresult;
        private bool hresultSet;
***************
*** 145,148 ****
--- 145,149 ----
                }
  
+ #if !ECMA_COMPAT
        // Set the help link for this exception.
        public virtual Exception SetHelpLink(String help)
***************
*** 151,154 ****
--- 152,156 ----
                        return this;
                }
+ #endif
  
        // Convert the exception into a string.
***************
*** 225,229 ****
                        }
                }
- #endif
        public virtual String HelpLink
                {
--- 227,230 ----
***************
*** 233,236 ****
--- 234,271 ----
                        }
                }
+       public virtual String Source
+               {
+                       get
+                       {
+                               if(source == null && stackTrace != null &&
+                                  stackTrace.Length > 0)
+                               {
+                                       MethodBase method = 
MethodBase.GetMethodFromHandle
+                                                               
(stackTrace[0].method);
+                                       source = 
method.DeclaringType.Module.Assembly.FullName;
+                               }
+                               return source;
+                       }
+                       set
+                       {
+                               source = value;
+                       }
+               }
+       public virtual MethodBase TargetSite
+               {
+                       get
+                       {
+                               if(stackTrace != null && stackTrace.Length > 0)
+                               {
+                                       return MethodBase.GetMethodFromHandle
+                                                               
(stackTrace[0].method);
+                               }
+                               else
+                               {
+                                       return null;
+                               }
+                       }
+               }
+ #endif
        public Exception InnerException
                {
***************
*** 267,288 ****
                        }
                }
-       public virtual String Source
-               {
-                       get
-                       {
-                               if(source == null && stackTrace != null &&
-                                  stackTrace.Length > 0)
-                               {
-                                       MethodBase method = 
MethodBase.GetMethodFromHandle
-                                                               
(stackTrace[0].method);
-                                       source = 
method.DeclaringType.Module.Assembly.FullName;
-                               }
-                               return source;
-                       }
-                       set
-                       {
-                               source = value;
-                       }
-               }
        public virtual String StackTrace
                {
--- 302,305 ----
***************
*** 302,320 ****
                                {
                                        return String.Empty;
-                               }
-                       }
-               }
-       public virtual MethodBase TargetSite
-               {
-                       get
-                       {
-                               if(stackTrace != null && stackTrace.Length > 0)
-                               {
-                                       return MethodBase.GetMethodFromHandle
-                                                               
(stackTrace[0].method);
-                               }
-                               else
-                               {
-                                       return null;
                                }
                        }
--- 319,322 ----

Index: GC.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/GC.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** GC.cs       19 Jun 2002 01:18:41 -0000      1.3
--- GC.cs       15 Apr 2003 04:37:44 -0000      1.4
***************
*** 27,30 ****
--- 27,33 ----
  {
  
+       // This class cannot be instantiated.
+       private GC() {}
+ 
        // Keep an object reference alive.
        [MethodImpl(MethodImplOptions.InternalCall)]

Index: LoaderOptimization.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/LoaderOptimization.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** LoaderOptimization.cs       1 Feb 2003 03:31:45 -0000       1.2
--- LoaderOptimization.cs       15 Apr 2003 04:37:44 -0000      1.3
***************
*** 22,25 ****
--- 22,27 ----
  {
  
+ #if !ECMA_COMPAT
+ 
  public enum LoaderOptimization
  {
***************
*** 30,33 ****
--- 32,37 ----
  
  }; // enum LoaderOptimization
+ 
+ #endif // !ECMA_COMPAT
  
  }; // namespace System

Index: LogLevel.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/LogLevel.cs,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** LogLevel.cs 7 Aug 2001 22:51:39 -0000       1.1.1.1
--- LogLevel.cs 15 Apr 2003 04:37:44 -0000      1.2
***************
*** 22,25 ****
--- 22,27 ----
  {
  
+ #if !ECMA_COMPAT
+ 
  public enum LogLevel
  {
***************
*** 31,34 ****
--- 33,38 ----
  
  }; // enum LogLevel
+ 
+ #endif // !ECMA_COMPAT
  
  }; // namespace System

Index: Math.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Math.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** Math.cs     2 Nov 2002 07:21:00 -0000       1.7
--- Math.cs     15 Apr 2003 04:37:44 -0000      1.8
***************
*** 2,6 ****
   * Math.cs - Implementation of the "System.Math" class.
   *
!  * Copyright (C) 2001  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
--- 2,6 ----
   * Math.cs - Implementation of the "System.Math" class.
   *
!  * Copyright (C) 2001, 2003  Southern Storm Software, Pty Ltd.
   *
   * This program is free software; you can redistribute it and/or modify
***************
*** 30,33 ****
--- 30,36 ----
        public const double PI = 3.14159265358979323846;
  
+       // This class cannot be instantiated.
+       private Math() {}
+ 
        // Get the absolute value of a number.
        [CLSCompliant(false)]
***************
*** 261,268 ****
--- 264,273 ----
                                return Decimal.Round(value, 0);
                        }
+ #if !ECMA_COMPAT
        public static Decimal Round(Decimal value, int decimals)
                        {
                                return Decimal.Round(value, decimals);
                        }
+ #endif
  
        // Get the sign of a value.

Index: MissingMemberException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/MissingMemberException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** MissingMemberException.cs   7 Apr 2003 04:22:51 -0000       1.6
--- MissingMemberException.cs   15 Apr 2003 04:37:44 -0000      1.7
***************
*** 30,37 ****
--- 30,39 ----
  #endif
  {
+ #if !ECMA_COMPAT
        // Internal state.
        protected String ClassName;
        protected String MemberName;
        protected byte[] Signature;
+ #endif
  
        // Constructors.

Index: PlatformID.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/PlatformID.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** PlatformID.cs       28 Nov 2002 04:54:29 -0000      1.2
--- PlatformID.cs       15 Apr 2003 04:37:44 -0000      1.3
***************
*** 22,25 ****
--- 22,27 ----
  {
  
+ #if !ECMA_COMPAT
+ 
  public enum PlatformID
  {
***************
*** 30,33 ****
--- 32,37 ----
  
  }; // enum PlatformID
+ 
+ #endif // !ECMA_COMPAT
  
  }; // namespace System

Index: Random.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Random.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** Random.cs   28 Nov 2001 04:22:39 -0000      1.3
--- Random.cs   15 Apr 2003 04:37:44 -0000      1.4
***************
*** 37,41 ****
--- 37,45 ----
        // Compute the next random number sample value.  This algorithm
        // is based on "rand()" from the FreeBSD sources.
+ #if !ECMA_COMPAT
        protected virtual double Sample()
+ #else
+       private double Sample()
+ #endif
                        {
                                seed = unchecked((int)((((uint)seed) * 
1103515245 + 12345) &

Index: String.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/String.cs,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -r1.31 -r1.32
*** String.cs   28 Mar 2003 06:53:59 -0000      1.31
--- String.cs   15 Apr 2003 04:37:44 -0000      1.32
***************
*** 75,83 ****
        [MethodImpl(MethodImplOptions.InternalCall)]
        [CLSCompliant(false)]
!       extern unsafe public String(sbyte *value, int startIndex, int length);
  
        [MethodImpl(MethodImplOptions.InternalCall)]
        [CLSCompliant(false)]
!       extern unsafe public String(sbyte *value);
  
        // Implement the ICloneable interface.
--- 75,93 ----
        [MethodImpl(MethodImplOptions.InternalCall)]
        [CLSCompliant(false)]
! #if ECMA_COMPAT
!       internal
! #else
!       public
! #endif
!       extern unsafe String(sbyte *value, int startIndex, int length);
  
        [MethodImpl(MethodImplOptions.InternalCall)]
        [CLSCompliant(false)]
! #if ECMA_COMPAT
!       internal
! #else
!       public
! #endif
!       extern unsafe String(sbyte *value);
  
        // Implement the ICloneable interface.
***************
*** 107,110 ****
--- 117,121 ----
                        }
  
+ #if !ECMA_COMPAT
        // Compare two strings using a particular culture's comparison rules.
        public static int Compare(String strA, String strB,
***************
*** 120,128 ****
                                                 ignoreCase, culture);
                        }
  
        // Validate sub-string ranges for "Compare".
!       public static void ValidateCompare(String strA, int indexA,
!                                                                          
String strB, int indexB,
!                                                                          int 
length)
                        {
                                if(indexA < 0)
--- 131,140 ----
                                                 ignoreCase, culture);
                        }
+ #endif
  
        // Validate sub-string ranges for "Compare".
!       private static void ValidateCompare(String strA, int indexA,
!                                                                           
String strB, int indexB,
!                                                                           int 
length)
                        {
                                if(indexA < 0)
***************
*** 217,220 ****
--- 229,233 ----
                        }
  
+ #if !ECMA_COMPAT
        // Compare two sub-strings with a particular culture's comparison rules.
        public static int Compare(String strA, int indexA,
***************
*** 232,235 ****
--- 245,249 ----
                                                                           
ignoreCase, culture);
                        }
+ #endif
  
        // Internal version of "CompareOrdinal", with all parameters.
***************
*** 274,277 ****
--- 288,292 ----
                        }
  
+ #if !ECMA_COMPAT
        // Compare this string against another.
        public int CompareTo(String value)
***************
*** 286,289 ****
--- 301,305 ----
                                }
                        }
+ #endif
  
        // Methods that are supplied by the runtime to assist with string 
building.
***************
*** 344,347 ****
--- 360,364 ----
                        }
  
+ #if !ECMA_COMPAT
        // Concatenate strings in various ways.
        public static String Concat(Object obj1)
***************
*** 356,359 ****
--- 373,377 ----
                                }
                        }
+ #endif
  
        [MethodImpl(MethodImplOptions.InternalCall)]
***************
*** 363,366 ****
--- 381,385 ----
        extern public static String Concat(String str1, String str2, String 
str3);
  
+ #if !ECMA_COMPAT
        public static String Concat(String str1, String str2,
                                                                String str3, 
String str4)
***************
*** 390,393 ****
--- 409,413 ----
                                return result;
                        }
+ #endif
        public static String Concat(params String[] values)
                        {
***************
*** 439,442 ****
--- 459,463 ----
                                                          (obj3 != null ? 
obj3.ToString() : null));
                        }
+ #if !ECMA_COMPAT
        public static String Concat(Object obj1, Object obj2,
                                                                Object obj3, 
Object obj4)
***************
*** 447,450 ****
--- 468,472 ----
                                                          (obj4 != null ? 
obj4.ToString() : null));
                        }
+ #endif
        public static String Concat(params Object[] args)
                        {
***************
*** 606,610 ****
  
        // Extract an integer value from a format string.
!       public static int GetFormatInteger(String format, int len, ref int posn)
                        {
                                int temp = posn;
--- 628,632 ----
  
        // Extract an integer value from a format string.
!       private static int GetFormatInteger(String format, int len, ref int 
posn)
                        {
                                int temp = posn;

Index: Version.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Version.cs,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** Version.cs  21 Feb 2003 08:36:47 -0000      1.9
--- Version.cs  15 Apr 2003 04:37:44 -0000      1.10
***************
*** 288,292 ****
                        }
  
!       // Convert this object into a string.
        public override String ToString()
                        {
--- 288,293 ----
                        }
  
!       // Convert this object into a string.  Not ECMA-compatible,
!       // strictly speaking, but necessary for API completeness.
        public override String ToString()
                        {
***************
*** 307,310 ****
--- 308,312 ----
                        }
  
+ #if !ECMA_COMPAT
        // Convert this object into a string with a specified number of 
components.
        public String ToString(int fieldCount)
***************
*** 331,334 ****
--- 333,337 ----
                                return String.Empty;
                        }
+ #endif
  
        // Relational operators.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]