[Mono-bugs] [Bug 355688] New: Private shared Main should not be considered as valid entrypoint
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jan 23 12:25:19 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=355688
Summary: Private shared Main should not be considered as valid
entrypoint
Product: Mono: Compilers
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basic
AssignedTo: rkvinge at novell.com
ReportedBy: gert.driesen at pandora.be
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Apparently, for MS' vbc (both 1.x and 2.x) only public static (Main) methods
are candidates for an entrypoint, while vbnc also allow private static methods.
To reproduce, compile the following code:
Public Class Program
Private Shared Sub Main
End Sub
End Class
Expected result:
error BC30737: No accessible 'Main' method with an appropriate signature was
found in 'test'.
Actual result:
Successful compilation
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list