[Mono-bugs] [Bug 475205] New: Multiple assignment fails for Drawing.Point struct
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Feb 12 09:57:16 EST 2009
https://bugzilla.novell.com/show_bug.cgi?id=475205
Summary: Multiple assignment fails for Drawing.Point struct
Classification: Mono
Product: Mono: Compilers
Version: unspecified
Platform: 32bit
OS/Version: openSUSE 11.1
Status: NEW
Severity: Major
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: hywel at controlspecials.demon.co.uk
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=272319)
--> (https://bugzilla.novell.com/attachment.cgi?id=272319)
Console program to reproduce bug
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.6)
Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6
Multiple assignment (eg start = end = new Point(100,200)) assigns only to
start, and end has (0,0) value.
Reproducible: Always
Steps to Reproduce:
1.Compile attached program with mcs or gmcs and -r:System.Drawing
2.
3.
Actual Results:
start : {X=100,Y=200}, end : {X=0,Y=0}
Expected Results:
start : {X=100,Y=200}, end : {X=100,Y=200}
This occurs with MS compilers
Don't know if this happens with any other structs, or whether Point is special
--
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