[Mono-bugs] [Bug 360755] New: Invalid error in the presence of indexing operator overload

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 11 14:43:44 EST 2008


           Summary: Invalid error in the presence of indexing operator
           Product: Mono: Compilers
           Version: SVN
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: cmarshall at pacificbiosciences.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

mcs (and gmcs) fail to compile the attached test case, apparently due to the
presence of the indexing (this[object]) operator overload.

To reproduce:

gmcs -t:library -out:foo.dll item.cs

Expected results:

No error.

Actual results:

item.cs(26,30): error CS0117: `foo.dwq' does not contain a definition for
item.cs(22,11): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings

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