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 String.cs,1.27,1.28


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System String.cs,1.27,1.28
Date: Thu, 14 Nov 2002 06:43:55 -0500

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

Modified Files:
        String.cs 
Log Message:


Uncomment "String.Equals(String)", which is non-ECMA, but required by
.NET SDK compatibility.


Index: String.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/String.cs,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** String.cs   14 Nov 2002 01:51:19 -0000      1.27
--- String.cs   14 Nov 2002 11:43:53 -0000      1.28
***************
*** 560,568 ****
        extern public static bool Equals(String a, String b);
  
        // Determine if this string is the same as another.
!       //public bool Equals(String value)
!       //              {
!       //                      return Equals(this, value);
!       //              }
  
        // Format a single-argument string.
--- 560,572 ----
        extern public static bool Equals(String a, String b);
  
+ #if !ECMA_COMPAT
+ 
        // Determine if this string is the same as another.
!       public bool Equals(String value)
!                       {
!                               return Equals(this, value);
!                       }
! 
! #endif // !ECMA_COMPAT
  
        // Format a single-argument string.





reply via email to

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