Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Suggestions not shown in CLI finalizer
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

horeaper
Senior Member

Singapore
49 Posts

Posted - Jul 29 2009 :  9:18:44 PM  Show Profile  Reply with Quote
For example, I have a class which declared like below:

ref class classname {
   ~classname() {}   // destructor
   !classname() {}   // finalizer
};

The weird "!classname()" is the finalizer for CLI, which allow you to dispose unmanaged resources, and VA's suggestion seems not working properly inside this function, it doesn't give me any "tip" on class member variables or methods, but other things, including the snippets works fine. As if VA was treating the finalizer as a "global function" not a member of the class.

And this problem exist from the first time I use VA (version 15XX, I forgot) until now (1727). Also exist both in VS2005 and VS2008 (Both with SP1 installed)

My life for Aiur!!!

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jul 30 2009 :  2:51:51 PM  Show Profile  Reply with Quote
We are planning to improve the finalizer support:

case=19150

We've increased the priority of this bug, but I don't have any estimate on this yet.
Go to Top of Page

jschroedl
Tomato Guru

USA
104 Posts

Posted - Mar 05 2010 :  3:49:13 PM  Show Profile  Reply with Quote
quote:
Originally posted by accord

We are planning to improve the finalizer support:

case=19150

We've increased the priority of this bug, but I don't have any estimate on this yet.



Hi, any update on when finalizers will be handled better? I ran into this again today attempting to rename a function called from my finalizer. It was renamed everywhere else but the finalizer.

John
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Mar 05 2010 :  4:12:59 PM  Show Profile  Reply with Quote
We are working on C++/CLI improvements, but still I don't have any form of time estimate for this, unfortunately.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Aug 04 2010 :  5:46:33 PM  Show Profile  Reply with Quote
case=19150 is fixed in build 1829

Whole Tomato Software, Inc.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000