[Mono-bugs] [Bug 400139] Reports an error about constructor that is not used

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jun 22 11:36:38 EDT 2008


User aaragoneses at novell.com added comment

--- Comment #3 from Andrés G. Aragoneses <aaragoneses at novell.com>  2008-06-22 09:36:36 MDT ---
Marek, sorry for being a bit lazy in my last comment :)

Here's the smallest testcase that doesn't need a reference to Gtk#:

namespace TestCases {

        public class GmcsCtorBug
                public static void Test ()
                        new ClassWithNonPublicConstructor ();

        public class ClassWithNonPublicConstructor {

                protected ClassWithNonPublicConstructor (int p) {

Configure bugmail: https://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.

More information about the mono-bugs mailing list