[Mono-devel-list] MCS bug?

RUBIOJR RUBIOJR at terra.es
Mon Feb 9 15:03:49 EST 2004


Sorry, I thought it should be checked by the compiler.

A stupid thought I supose.

Cheers,
Rubio

----- Mensaje Original -----
De: Jackson Harper <jackson at ximian.com>
Fecha: Domingo, Febrero 8, 2004 8:08 pm
Asunto: Re: [Mono-devel-list] MCS bug?

> That code recurses forever of course mono is going to crash. Fixed 
> codebelow.
> 
> Jackson
> 
> 
> using System;
> using System.Runtime.InteropServices;
> public class TestProperty 
> {
>        int prop;
> 
>        public int Prop
>        {
>                get {
>                        return prop;
>                }
>        }
> 
>        public static void Main()
>        {
>                TestProperty prop = new TestProperty();
>                int i = prop.Prop;
>        }
> }
> 
> 
> On Sat, 2004-02-07 at 06:17, Sergio Rubio wrote:
> > Hi,
> > I haven't found anything about this on ximian's bugzilla.
> > 
> > TestProperty.cs makes mono crash when executed.
> > The file is attached.
> > 
> > mono --version:
> > Mono JIT compiler version 0.30.99.20040207
> > 
> > Cheers,
> > Rubio.
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 





More information about the Mono-devel-list mailing list