Author: raja
Date: 2008-01-22 08:36:09 -0500 (Tue, 22 Jan 2008)
New Revision: 93523

Modified:
   trunk/mcs/tests/ChangeLog
   trunk/mcs/tests/gtest-exmethod-08.cs
Log:
* gtest-exmethod-08.cs: Initialize 'first' and 'second' to non-null.


Modified: trunk/mcs/tests/ChangeLog
===================================================================
--- trunk/mcs/tests/ChangeLog   2008-01-22 13:22:47 UTC (rev 93522)
+++ trunk/mcs/tests/ChangeLog   2008-01-22 13:36:09 UTC (rev 93523)
@@ -1,3 +1,7 @@
+2008-01-22  Raja R Harinath  <[EMAIL PROTECTED]>
+
+       * gtest-exmethod-08.cs: Initialize 'first' and 'second' to non-null.
+
 2008-01-12  Raja R Harinath  <[EMAIL PROTECTED]>
 
        * Makefile (VALID_PROFILE): New.  Disable tests for other profiles.

Modified: trunk/mcs/tests/gtest-exmethod-08.cs
===================================================================
--- trunk/mcs/tests/gtest-exmethod-08.cs        2008-01-22 13:22:47 UTC (rev 
93522)
+++ trunk/mcs/tests/gtest-exmethod-08.cs        2008-01-22 13:36:09 UTC (rev 
93523)
@@ -9,8 +9,8 @@
 {
        public static void Main ()
        {
-               List<int> first  = null;
-               List<int> second = null;
+               List<int> first  = new List<int> ();
+               List<int> second = new List<int> ();
 
                IEnumerable<int> q = first.Except(second);
        }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to