mono/mono — pull request #370 by sblom (2012-07-03 07:47:42+00:00)
Title: Needed to add more precise checking of dimensions on array initializers

One of my co-workers discovered one day that mcs.exe was happy to accept

```c#
int[,] a = { { 0, 1, 2, 3}, {4, 5, 6}, {7, 8, 9, 10} };
```

despite that [§12.6 of the C# standard](http://msdn.microsoft.com/en-us/library/aa664573%28v=VS.71%29.aspx) says "For each nested array initializer, the number of elements must be the same as the other array initializers at the same level."

This change includes test cases that should trigger the error, as well as the fairly straightforward fix for the error.