[Mono-bugs] [Bug 335847] New: Problem with initializers...

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 22 18:39:42 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=335847

           Summary: Problem with initializers...
           Product: Mono: Compilers
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: rharinath at novell.com
        ReportedBy: sdelcroix at novell.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


While compiling SilverlightSudokuhelper (code at
http://delay.members.winisp.net/SilverlightSudokuHelper/SilverlightSudokuHelper.zip),
I got this error:

Page.xaml.cs(172,46): error CS0131: The left-hand side of an assignment must be
a variable, a property or an indexer
Page.xaml.cs(172,85): error CS0131: The left-hand side of an assignment must be
a variable, a property or an indexer

line 172 looks like:
            var markerPosition = new Point { X = (position.X / Width) *
Board.Size, Y = (position.Y / Height) * Board.Size };

I got this behavior with both smcs and gmcs (with -langversion:link)


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list