Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA not recognizing certain member vars in C#

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Glynn Posted - Jan 23 2009 : 10:04:22 AM
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()
{
}
}

3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 28 2009 : 2:04:07 PM
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
Glynn Posted - Jan 23 2009 : 10:12:33 AM
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;

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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000