[Mono-bugs] [Bug 474953] New: Compilation failure with possibly bogus error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 11 16:26:02 EST 2009


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


           Summary: Compilation failure with possibly bogus error
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.0.x
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ptrajkumar at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development


Created an attachment (id=272070)
 --> (https://bugzilla.novell.com/attachment.cgi?id=272070)
zip file with *.cs *.nant files

Description of Problem:

   The zip folder contains some csharp files and two nant build files. 
"DataGood.build" works and "Datagood.build" doesn't compile successfully.

Steps to reproduce the problem:
1. Unzip the zipped file.
2. Change to unzipped directory.
3. "nant -buildfile:DataBad.build" fails with compilation errors
4. You can also do "gmcs *.cs -target:library" to reproduce the same error.
5. The only difference between these two build files is that one that works
excludes a totally unrelated csharp file.
6. Compiling against micrsoft .net 3.5 works for both nant files.


Actual Results:
Fails with the following error

[csc] C:\VSTS\wcf\Core\Data\UndoableDictionary.cs(35,49): error CS0115:
`Data.UndoableDictionary<TKey,TValue>.Referenced()' is marked as an override
but no suitable method found to override
[csc] C:\VSTS\wcf\Core\Data\UndoableDictionary.cs(39,30): error CS0115:
`Data.UndoableDictionary<TKey,TValue>.TestFunc()' is marked as an override but
no suitable method found to override


Expected Results:
Compilation should be succcessfull

How often does this happen? 

Happens every time.


Additional Information:

-- 
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