public void bug78885()
{
DataSet ds = new DataSet();
DataTable t = ds.Tables.Add("table");
DataColumn id;
id = t.Columns.Add("userID", Type.GetType("System.Int32"));
id.AutoIncrement = true;
t.Columns.Add("name", Type.GetType("System.String"));
t.Columns.Add("address", Type.GetType("System.String"));
t.Columns.Add("zipcode", Type.GetType("System.Int32"));
t.PrimaryKey = new DataColumn[] { id };
DataRow tempRow;
tempRow = t.NewRow();
tempRow["name"] = "Joan";
tempRow["address"] = "Balmes 152";
tempRow["zipcode"] = "1";
t.Rows.Add(tempRow);
t.RowChanged += new DataRowChangeEventHandler(RowChangedHandler);
/* neither of the calls to EndEdit below generate a RowChangedHandler on MS. the first one does on mono */
t.DefaultView[0].BeginEdit();
t.DefaultView[0].EndEdit(); /* this generates a call to the row changed handler */
t.DefaultView[0].EndEdit(); /* this doesn't */
Assert.False(_rowChanged);
}