[Mono-bugs] [Bug 363218] Cannot use an anonymous method returning a multidimensional array as a delegate

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 22 03:58:30 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=363218

User msafar at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=363218#c4





--- Comment #4 from Marek Safar <msafar at novell.com>  2008-02-22 01:58:30 MST ---
Marc,

That's the correct error message. The test case is buggy, the multi-dimensional
initializer syntax is incorrect. Here is the update version.

  public static void Main(string[] args)
  {
      Baz(delegate() {
        return new string[,] { { "aa" }, { "bb" } };
      });
  }


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list