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
 VAX 1534: Find reference mixes enum and class
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - Sep 12 2006 :  10:02:17 AM  Show Profile  Reply with Quote
VS2005, C#

Having an enum value defined with the same name as a class, Find References will show all references to the class, instead of the enum when using on the enum. So there is no way to see the references to the enum.

Happens with the same class defined in a lower namespace too.
e.g.:
namespace XYZ
{
  public enum MyType { ThisTypeIsNotAClass }
  public class ThisTypeIsNotAClass
  {
  }
}

or

namespace XYZ
{
  public enum MyType { ThisTypeIsNotAClass }
}
namespace XYZ.aaa
{
  public class ThisTypeIsNotAClass
  {
  }
}

Edited by - Uniwares on Sep 12 2006 10:04:25 PM

rhummer
Tomato Guru

USA
527 Posts

Posted - Sep 12 2006 :  11:41:10 PM  Show Profile  Reply with Quote
already been reported ;)
case=2188

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jul 07 2007 :  12:37:59 AM  Show Profile  Reply with Quote
case=2188 is fixed in Build 1559
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