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
 Not all usages detected when renaming method
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

legalize
Tomato Guru

USA
119 Posts

Posted - Jun 22 2014 :  1:47:11 PM  Show Profile  Reply with Quote
Test suite: http://d3dgraphicspipeline.codeplex.com/releases/view/39824

Test case R8

Not all instances of the method Operation are detected, leading to invalid code.

This instance is not detected:
using X::Rename1;
Rename1 fromX;
fromX.Operation();

http://legalizeadulthood.wordpress.com

feline
Whole Tomato Software

United Kingdom
19008 Posts

Posted - Jul 16 2014 :  1:23:18 PM  Show Profile  Reply with Quote
I am seeing the same problem, but not with this sample code. The problem happens in the solution, but the trigger involves a duplicate class and member function name as well as the using line:

case=34692

It is possible to confuse our parser with duplicate names, and here the using places the two classes into the same scope.

zen is the art of being at one with the two'ness
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