Bug 17606 - Jagged arrays are missing construtor
Summary: Jagged arrays are missing construtor
Alias: None
Product: Runtime
Classification: Mono
Component: Reflection ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Rodrigo Kumpera
Depends on:
Reported: 2014-02-05 05:13 UTC by Marek Safar
Modified: 2014-12-01 04:31 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Marek Safar 2014-02-05 05:13:23 UTC
using System;

class X
	public static void Main ()
		var type = Type.GetType ("System.Object[][]");

		foreach (var c in type.GetConstructors ()) {
			Console.WriteLine (c);


Void .ctor(Int32)


Void .ctor(Int32)
Void .ctor(Int32, Int32)
Comment 1 Zoltan Varga 2014-02-18 10:46:29 UTC
These ctors seem to create an array of arrays, i.e. invoking the ctor with 4,4 arguments would create a object[4] with every element also an object[4].
Comment 2 Zoltan Varga 2014-02-26 16:18:49 UTC
Fixed in master.
Comment 3 Zoltan Varga 2014-02-27 12:38:07 UTC
Reopen as the fix had to be reverted in 42edc1dddb0c66acfe18bea5031dd23dc8ff24cd.
Comment 4 Zoltan Varga 2014-12-01 04:31:13 UTC
Reapplied the fix in 92388f7d09b0aeae25271229d438d6e065310fd9.