http://bugzilla.novell.com/show_bug.cgi?id=593342
http://bugzilla.novell.com/show_bug.cgi?id=593342#c0 Summary: test-454.cs is failing Classification: Mono Product: Mono: Compilers Version: SVN Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: mono-bugs@lists.ximian.com ReportedBy: harin...@hurrynot.org QAContact: mono-bugs@lists.ximian.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.366.2 Safari/533.4 I'm creating this bug-report so that I can add test-454.cs to known-issues-*. The cause seems to be the inability of Array.CreateInstance to handle open typebuilders. -------------------- System.NotSupportedException: Can't create an array of the unfinished type 'EnumType'. at System.Array.CreateInstance (System.Type elementType, System.Int32[] lengths) [0x000ca] in /home/harinath/src/mcs/class/corlib/System/Array.cs:680 at System.Array.CreateInstance (System.Type elementType, Int32 length) [0x0000b] in /home/harinath/src/mcs/class/corlib/System/Array.cs:640 at Mono.CSharp.ArrayCreation.GetAttributableValue (Mono.CSharp.ResolveContext ec, System.Type value_type, System.Object& value) [0x00077] in /home/harinath/src/mcs/mcs/expression.cs:6495 at Mono.CSharp.Attribute.ResolveNamedArguments (Mono.CSharp.ResolveContext ec) [0x002ce] in /home/harinath/src/mcs/mcs/attribute.cs:614 at Mono.CSharp.Attribute.Resolve () [0x00189] in /home/harinath/src/mcs/mcs/attribute.cs:432 test-454.cs(21,2): error CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression -------------------- Reproducible: Always Steps to Reproduce: cd mcs/tests; make run-test Actual Results: test-454.cs(21,2): error CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression Expected Results: Successful execution of test-454.exe -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs