Bug 311249 (MONO26930) - Problem in using properties
Summary: Problem in using properties
Status: RESOLVED MOVED
Alias: MONO26930
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-25 02:21 UTC by Duncan Mak
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Makefile for Linux (108 bytes, text/plain)
2002-06-25 02:21 UTC, Thomas Wiest
Details
Makefile for Windows (215 bytes, text/plain)
2002-06-25 02:22 UTC, Thomas Wiest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 17:58:33 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"