mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* System.Data.SqlClient/SqlCommand.cs: modified - to compile using mcs. This problem is returning a stronger type in csc vs. msc * System.Data.SqlClient/SqlConnection.cs: modified - msc can not do a using PGconn = IntPtr; and then declare with PGconn pgConn = IntPtr.Zero; Thiw works under csc though. Had to comment using and changed declaration to IntPtr pgConn = IntPtr.Zero; Also, got rid of compile warnings for hostaddr and port. * System.Data.SqlClient/SqlErrorCollection.cs: modified - got rid of compile warnings. Commented MonoTODO attribute because mcs doesn't seem to work with C# array property indexer (Item) this[int index] * System.Data.SqlClient/SqlParameterCollection.cs: modified - commented MonoTODO attribute for indexer for mcs compiling * Test/TestSqlIsolationLevel.cs: * Test/TestSqlInsert.cs: * Test/TestSqlException.cs: modified - removed extra ExecuteNonQuery which caused two inserted rows svn path=/trunk/mcs/; revision=3938