[Mono-devel-list] swf.Application constructor

Miguel de Icaza miguel at ximian.com
Sun Sep 21 21:31:56 EDT 2003


Hello,

> Is it a bug in Winchurn?
> 
> Is it a bug in the complier?
> 
> Is it a bug in my brain?

It is a missing feature in the C# language.  A mechanism of saying `this
class should not be instantiated'.  The trick used so far is to have a
private constructor, but sometimes a developer might forget to do this
(this might be a genuine case of it) and you get the behavior we have
now.

Miguel.



More information about the Mono-devel-list mailing list