[Mono-bugs] [Bug 46977][Blo] Changed - System.Object fails with Gtk#

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 28 Jul 2003 13:30:21 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=46977

--- shadow/46977	Mon Jul 28 13:27:02 2003
+++ shadow/46977.tmp.21948	Mon Jul 28 13:30:21 2003
@@ -46,6 +46,30 @@
    {
        Object o = new Object ();
    }
 }
 =====
 
+
+------- Additional Comments From miguel@ximian.com  2003-07-28 13:30 -------
+namespace GtkSamples {
+	using System;
+	using System.Drawing;
+	using System.Runtime.InteropServices;
+
+	using Gtk;
+	using GtkSharp;
+
+	public class TreeViewDemo {
+		
+		private class Pair {
+		}
+
+		public static void Main (string[] args)
+		{
+		}
+
+	}
+}
+
+Notice that the problem happens with the declaration of Pair; It will
+also fail if you explicitly list System.Object as its base class.