Is it possible to add a Finalizer to a CodeDom generated class (other than using CodeSnippetTypeMember)?
I couldn’t find any information about it on MSDN.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This was a known bug in .NET Framework and was reported some time back at
http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackId=FDBK48431
But the link above is currently not working. You can view it using internet archive on the following link
http://web.archive.org/web/20080224200911rn_2/connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=97599
I am not sure whether it was fixed or not.