[Mono-devel-list] MCS bug?

Jackson Harper jackson at ximian.com
Sun Feb 8 15:08:45 EST 2004


That code recurses forever of course mono is going to crash. Fixed code
below.

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.




More information about the Mono-devel-list mailing list