[Mono-list] Help: Making class stubbs

Miguel de Icaza miguel@ximian.com
18 Apr 2002 11:05:36 -0400


> 1) I'm going through the documentation at MSDN and sone protected methods
> say "[C#] In C#, finalizers are expressed using destructor syntax".
> 
> What is the destructor syntax?

class X {

	~X ()
	{
		// this is the destructor
	}
}

> 
> 2) Do I have to stubb the inherited methods too?  Or just the ones that
> say "overriden" in the documentation?  i.e. can I assume that the methods
> that Mono will override are the same ones that Microsoft had to override?

Only the overwritten ones.   We have to overwrite the same methods that
Microsoft does to remain compatible.

Miguel.