[Mono-list] entry point bug ?
Jonathan Stowe
gellyfish@gellyfish.com
Thu, 18 Apr 2002 09:27:20 +0100 (BST)
On Wed, 17 Apr 2002, Lawrence Pit wrote:
> doesn't compile with csc and mcs.
> which is correct
>
I don't think that it is *correct*, 10.1 of the spec say's explicitly:
Other overloaded versions of Main are permitted, however, provided they
have more than one parameter, or their only parameter is other than type
string[].
so I would rather call it 'established behaviour' :)
> Greets,
> Laurens Pit
>
> ----- Original Message -----
> From: "Jonathan Stowe" <gellyfish@gellyfish.com>
> To: <mono-list@ximian.com>
> Sent: Tuesday, April 16, 2002 22:15
> Subject: [Mono-list] entry point bug ?
>
>
> > This reveals a bug against the specification (as far as I understand it)
> > but I will check against csc before I put it in bugzilla :
> >
> > public class Test
> > {
> > static void Main()
> > {
> > System.Console.WriteLine("void Main()");
> > }
> >
> > static void Main(string[] args,int foo)
> > {
> > System.Console.WriteLine("void Main(string[] args, int foo )");
> > }
> >
> > }
> >
> > /J\
> > --
> > Jonathan Stowe |
> > <http://www.gellyfish.com> | This space for rent
> > |
> >
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list@ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>
> _______________________________________________
> Mono-list maillist - Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
--
Jonathan Stowe |
<http://www.gellyfish.com> | This space for rent
|