[Mono-bugs] [Bug 62978][Nor] Changed - Sorry, I reported 4 bugs at once - please split the report

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 9 Dec 2004 14:07:46 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by shurik_u@freemail.ru.

http://bugzilla.ximian.com/show_bug.cgi?id=62978

--- shadow/62978	2004-12-09 14:01:01.000000000 -0500
+++ shadow/62978.tmp.23764	2004-12-09 14:07:46.000000000 -0500
@@ -177,6 +177,33 @@
       Console.WriteLine("Success:"+objA);
       Console.ReadLine();
     }
   }
 }
 
+
+------- Additional Comments From shurik_u@freemail.ru  2004-12-09 14:07 -------
+//The second bug is bug with call SqlParameter constructor
+//As I dicovered wrong conctructor called in this case.
+using System;
+using System.Data;
+using System.Data.SqlClient;
+
+namespace MonoTest
+{
+  /// <summary>
+  /// Summary description for Class1.
+  /// </summary>
+  class SqlParameterConstructorCall
+  {
+    /// <summary>
+    /// The main entry point for the application.
+    /// </summary>
+    [STAThread]
+    static void Main(string[] args)
+    {
+      SqlParameter p = new SqlParameter("@P1", DBNull.Value);
+      Console.WriteLine("Success!");
+      Console.ReadLine();
+    }
+  }
+}