L
Lloyd Dupont
I used FxCop on my assembly recenlty, ouch...
There is one statement I wonder about (in fact there is many, but let's
start wit this one)
I have a Dispose() method and it advice me to call
GC.SuppressFinalize() method me.
I don't want as I use no finally (I haven't implemented any destructor), my
class being fully managed don't require them, but I do use stuff like Brush,
etc ... so I have a Dispose() method.
Am I right ?
Isn't GC.SuppressFinalize() of any use only if there is a destructor (a
~MyObject() method) ?
There is one statement I wonder about (in fact there is many, but let's
start wit this one)
I have a Dispose() method and it advice me to call
GC.SuppressFinalize() method me.
I don't want as I use no finally (I haven't implemented any destructor), my
class being fully managed don't require them, but I do use stuff like Brush,
etc ... so I have a Dispose() method.
Am I right ?
Isn't GC.SuppressFinalize() of any use only if there is a destructor (a
~MyObject() method) ?