[Mono-bugs] [Bug 26930][Wis] New - Problem in using properties

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
24 Jun 2002 23:21:03 -0000

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 duncan@ximian.com.


--- shadow/26930	Mon Jun 24 19:21:03 2002
+++ shadow/26930.tmp.442	Mon Jun 24 19:21:03 2002
@@ -0,0 +1,48 @@
+Bug#: 26930
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: duncan@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Problem in using properties
+The following code builds on Win32, but not Linux:
+using Gtk;
+using GtkSharp;
+class X {
+	static void Main ()
+	{
+		Gtk.Label label = new Gtk.Label ("Hello");
+		label.Markup = "<b>";
+	}
+The error is:
+** (process:20082): WARNING **: unhandled exception System.Exception:
+"Expression Mono.CSharp.PropertyExpr did not set its type after Resolve"
+in <0x0023a> Mono.CSharp.Expression:ResolveLValue
+in <0x00091> Mono.CSharp.Assign:DoResolve (Mono.CSharp.EmitContext)
+in <0x0002e> Mono.CSharp.Expression:Resolve (Mono.CSharp.EmitContext)
+in <0x00014> Mono.CSharp.StatementExpression:Resolve (Mono.CSharp.EmitContext)
+in <0x00092> Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
+in <0x0008b> Mono.CSharp.EmitContext:EmitTopBlock
+in <0x00403> Mono.CSharp.Method:Emit (Mono.CSharp.TypeContainer)
+in <0x001df> Mono.CSharp.TypeContainer:Emit ()
+in <0x004ca> Mono.CSharp.RootContext:EmitCode ()
+in <0x01c6f> Mono.CSharp.Driver:MainDriver (string[])
+in <0x00009> Mono.CSharp.Driver:Main (string[])