Bugzilla – Bug 311249
Problem in using properties
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by duncan@ximian.com 2002-06-24 19:21:02 MST ---- 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 (Mono.CSharp.EmitContext,Mono.CSharp.Expression) 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 (Mono.CSharp.Block,Mono.CSharp.Location) 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[]) ---- Additional Comments From duncan@ximian.com 2002-06-24 19:21:31 MST ---- Created an attachment (id=164280) Makefile for Linux ---- Additional Comments From duncan@ximian.com 2002-06-24 19:22:18 MST ---- Created an attachment (id=164281) Makefile for Windows ---- Additional Comments From gonzalo@ximian.com 2002-06-25 14:23:42 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO26840 *** Imported an attachment (id=164280) Imported an attachment (id=164281) Unknown operating system other. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"