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 ArgumentOutOfRangeExc


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System ArgumentOutOfRangeException.cs,1.7,1.8 Array.cs,1.24,1.25 DateTime.cs,1.22,1.23
Date: Wed, 23 Apr 2003 02:28:52 -0400

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

Modified Files:
        ArgumentOutOfRangeException.cs Array.cs DateTime.cs 
Log Message:


ECMA-compatibility fixes.


Index: ArgumentOutOfRangeException.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/ArgumentOutOfRangeException.cs,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** ArgumentOutOfRangeException.cs      7 Apr 2003 04:22:51 -0000       1.7
--- ArgumentOutOfRangeException.cs      23 Apr 2003 06:28:50 -0000      1.8
***************
*** 63,66 ****
--- 63,67 ----
                                }
                        }
+ #if !ECMA_COMPAT
        public override String Message
                        {
***************
*** 81,84 ****
--- 82,86 ----
                                }
                        }
+ #endif
  
        // Get the default message to use for this exception type.

Index: Array.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Array.cs,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** Array.cs    23 Apr 2003 05:39:48 -0000      1.24
--- Array.cs    23 Apr 2003 06:28:50 -0000      1.25
***************
*** 30,44 ****
  
        // Constructor.
- #if ECMA_COMPAT
-       protected Array()
-       {
-               // Nothing to do here.
-       }
- #else
        private Array()
        {
                // Nothing to do here.
        }
- #endif
  
        // Inner version of "BinarySearch" used by the methods below
--- 30,37 ----

Index: DateTime.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/DateTime.cs,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** DateTime.cs 19 Apr 2003 04:03:04 -0000      1.22
--- DateTime.cs 23 Apr 2003 06:28:50 -0000      1.23
***************
*** 717,721 ****
                                }
                        }
!       public System.DayOfWeek DayOfWeek
                        {
                                get
--- 717,726 ----
                                }
                        }
! #if ECMA_COMPAT
!       internal
! #else
!       public
! #endif
!       System.DayOfWeek DayOfWeek
                        {
                                get
***************
*** 903,906 ****
--- 908,913 ----
                        }
  
+ #if !ECMA_COMPAT
+ 
        // Get this DateTime value in a variety of formats.
        [TODO]
***************
*** 928,931 ****
--- 935,940 ----
                                return null;
                        }
+ 
+ #endif // !ECMA_COMPAT
  
        // Convert this DateTime value into local time.





reply via email to

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