Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80742 --- shadow/80742 2007-02-06 13:07:56.000000000 -0500 +++ shadow/80742.tmp.31818 2007-02-06 13:07:56.000000000 -0500 @@ -0,0 +1,51 @@ +Bug#: 80742 +Product: Mono: Compilers +Version: 1.2 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: CS1533: Invoke cannot be called directly on a delegate + +Please fill in this template when reporting a bug, unless you know what you +are doing. +Description of Problem: +When compiling the attached program, gmcs returns error CS1533. The code +compiles fine under .NET 2.0 + +Steps to reproduce the problem: +C:\Documents and Settings\Frederik Carlier>csc InvokeTest.cs +Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42 +for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727 +Copyright (C) Microsoft Corporation 2001-2005. All rights reserved. + + +C:\Documents and Settings\Frederik Carlier>gmcs InvokeTest.cs +-r:System.Windows. +Forms +InvokeTest.cs(20,9): error CS1533: Invoke cannot be called directly on a +delegat +e +Compilation failed: 1 error(s), 0 warnings + + +Actual Results: +gmcs and csc behave differently + +Expected Results: +gmcs to behave like csc (unless there is a bug in csc, of course) + +How often does this happen? +Always + +Additional Information: +See attached file. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
