http://www.gotdotnet.com/team/fxcop/Docs/Rules/SecurityRules/IntptrAndFinalize.html

I struggle to comprehend the above FxCop rule.  Does it make a lick of
sense to anyone?

Just want to point you to this [1] blog by Chris Brumme, where he discusses the same problem. He also suggests a solution which is a bit cleaner than GC.KeepAlive: HandleRef (which seems to be replaced/extended by SafeHandle in Whidbey).

Fabian

[1] http://blogs.msdn.com/cbrumme/archive/2003/04/19/51365.aspx

===================================
This list is hosted by DevelopMentor�  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to