[Mono-bugs] [Bug 378364] New: Reports lack of '; ' instead of lack of parenthesis

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 9 10:58:31 EDT 2008


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


           Summary: Reports lack of ';' instead of lack of parenthesis
           Product: Mono: Compilers
           Version: 1.9.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: aaragoneses at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Testcase:

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
                if !(new Uri (args[0],
UriKind.RelativeOrAbsolute).IsAbsoluteUri)
                throw new Exception();
        }
    }
}

CSC:
Error   1       Syntax error, '(' expected      C:\Users\root\Documents\Visual
Studio 2008\Projects\WindowsFormsApplication1\ConsoleApplication1\Program.cs   
 12      10      ConsoleApplication1

Error   2       ) expected      C:\Users\root\Documents\Visual Studio
2008\Projects\WindowsFormsApplication1\ConsoleApplication1\Program.cs     12   
  72      ConsoleApplication1


GMCS:
[Task:File=/home/knocte/Documents/iDocuments/Proyectos/mono/a11y/SVNtree/uia2atk/src/samples/managed/AtkSharpHelper/Main.cs,
Line=74, Column=24, Type=Error, Priority=Normal, Description=Expecting
`;'(CS1002)]


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