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 not recognizing certain member vars in C#
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Glynn
New Member

2 Posts

Posted - Jan 23 2009 :  10:04:22 AM  Show Profile  Reply with Quote
The image below shows that m_Plotted is not recognized by VA (none of the VA refactors are enabled for it). The problem seems to be that it is an instance of a generic instancing a user defined class. (List<PlottedThing>)



Original code without syntax highlighting:

public partial class Form1 : Form
{
private List<PlottedThing> m_Plotted = new List<PlottedThing>();

public Form1()
{
InitializeComponent();
}
}

public class PlottedThing
{
private int id = 0;

public PlottedThing()
{
}
}

rhummer
Tomato Guru

USA
527 Posts

Posted - Jan 23 2009 :  10:11:13 AM  Show Profile  Reply with Quote
What version of VA X are you using? Go to VA Options -> System Info and hit the Copy Info button, then paste that here.

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

Go to Top of Page

Glynn
New Member

2 Posts

Posted - Jan 23 2009 :  10:12:33 AM  Show Profile  Reply with Quote
VA_X.dll file version 10.5.1711.0 built 2008.12.11
Licensed to:
VA X: [email protected] (9-user license) Support ends 2009.06.23
DevEnv.exe version 9.0.30729.1
msenv.dll version 9.0.30729.1
Font: Envy Code R 13(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
2 processors

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft DirectX SDK (June 2007)\\Include;
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.1\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v6.1\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\crt\\src;

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Jan 28 2009 :  2:04:07 PM  Show Profile  Reply with Quote
The image is to small for me to read, but VA 1715 contains a fix for generic code in C# which might help:

http://www.wholetomato.com/downloads/default.asp

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