[Mono-bugs] [Bug 438557] New: gmcs uses global Type rather than class variable named Type

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 23 20:09:53 EDT 2008


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


           Summary: gmcs uses global Type rather than class variable named
                    Type
           Product: Mono: Compilers
           Version: SVN
          Platform: x86
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: joncham at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=247664)
 --> (https://bugzilla.novell.com/attachment.cgi?id=247664)
Sample program

Description of Problem:
The attached file compiles with .Net, but fails with gmcs

Steps to reproduce the problem:
1. gmcs Program.cs
2. 


Actual Results:
linux at linux:~/Documents> gmcs Program.cs 
Program.cs(14,10): error CS0119: Expression denotes a `type', where a
`variable', `value' or `method group' was expected
Compilation failed: 1 error(s), 0 warnings


Expected Results:
successful compilation

How often does this happen? 
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