[Mono-list] Mono's Coding Standard

Miguel de Icaza miguel@ximian.com
25 Apr 2002 10:10:57 -0400


> Is it like properties? (i.e. at the end of the declaration line).

Yes, like properties.

> Is this the correct stub for an event:
> 
> 
> public event EventHandler ItemActivate {
>         add { throw new NotImplementedException (); }
>         remove { throw new NotImplementedException (); }
> }

Mhm, more like this (also properties:

public int Property {
	get {
		throw Blah ();
	}

	set {
		throw Blah ();
	}
}

Ditto for events.

Miguel