[Mono-devel-list] Segmentation fault

Chris Nuernberger cnuernberger at extendthereach.com
Tue Jul 20 22:46:13 EDT 2004


Is my installation messed up or does this crash on other systems?  I am
using latest CVS of mono (updated SUPER recently), and of MCS.  The debugger
also crashes (or rather hangs)...

using System;

class Example
{
	public static void Main()
	{
		CChart.Row theRow = new CChart.Row();
		Console.WriteLine( theRow.yPos );
		theRow.yPos = 3;
	}
}
namespace CChart
{
public delegate void RowChanged( Row row, float amount );

public class Row
{
	public event RowChanged rowChangeListeners;
	public float yPos {
		get{ return yPos; }
		set{ 
			yPos = value;
			rowChangeListeners( this, 0 );
		}
	}
	public Row()
	{
	}
}
}



More information about the Mono-devel-list mailing list