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
 VA 1711: rename errs in object initializers
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Feb 18 2009 :  07:13:24 AM  Show Profile  Reply with Quote
C# 3.0, VS2008

Example:
class myClass { public string name { get; set; } }

// somewhere else
myClass a = new myClass() { name = "test" };


Using VA renaming "name" to something else will show the occurrence as "?" but does not mark it automatically.

Find References behaves equally.



Edited by - Uniwares on Feb 18 2009 07:15:16 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Feb 18 2009 :  1:33:35 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=24121
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