mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* Test/System.Data/DataSetTest2.cs : Test the behavior of EnforceConstraints * Test/System.Data/DataViewTest_IBindingList.cs : Test to ensure the correct index is used for comparision * Test/System.Data/DataRowTest2.cs : Test to ensure the RowErrors and ColumnErrors are filled correctly. * System.Data.Common/Key.cs : -Equals : Check for Equality of Sort Order too. * System.Data/DataSet.cs : - InternalEnforceConstraints : Check if any null constraints are violated. Throw ConstraintException only after all the errors are filled. * System.Data/DataTable.cs : - EnforceConstraints : Move away the logic to check for NullConstraintViolation. - AssertNotNullConstraint : Checks for Null Constraint Violation. - EndLoadData : Do not throw any exceptions here. All the errors have to be found and RowErrors set before throwing the exception. * System.Data/DataRow.cs : - ImportRecrod : Check the values of the row for any null values. - SetColumnError : If the error for column is already set, do not add a new error but edit the existing error. - CheckValue : Set the NullConstraintViolation flag if either table is being loaded or if EnforceConstraints is set to false. * System.Data/Constraint.cs : Do not throw exception when EnforceConstraints is set to false or table is being loaded. * System.Data/UniqueConstraint.cs : Correct the error message. Set ColumnErrors along with the RowError. svn path=/trunk/mcs/; revision=61744