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
 View Context does not see fields after new keyword
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

alanhowells
New Member

6 Posts

Posted - Jul 19 2006 :  06:05:40 AM  Show Profile  Reply with Quote
If you hide an inherited member using the new keyword in C#, VAX does not parse the file correctly.

VS 2005 Team Edition (English)

VA_X.dll file version 10.2.1446.0 built 2006.05.31
Licensed to:
VA X: <ommitted email address> (2-user license) Support ends 2006.08.16
VA.NET 7.1:
VAOpsWin.dll version 1.3.2.4
VATE.dll version 1.0.4.14
DevEnv.exe version 8.0.50727.42
msenv.dll version 8.0.50727.42
Font: Courier New 11(Pixels)
Comctl32.dll version 6.0.2900.2180
WindowsNT 5.1 Build 2600 Service Pack 2
Single processor

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\common\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\WTL\\include;

Library Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\crt\\src;

Other Includes:


Edited by - alanhowells on Jul 19 2006 06:18:23 AM

alanhowells
New Member

6 Posts

Posted - Jul 19 2006 :  06:10:18 AM  Show Profile  Reply with Quote
E.G.

Add this class to a project. VAX parses correctly but if you uncomment the new keyword of the Clear() method (as told to by the warnings), VAX does not parse the file correctly and in the View Context the only options are the class and namespace. No methods are shown.

using System.Collections.ObjectModel;

namespace VAXBug
{
   public class StringCollection : Collection<string>
   {
      public /*new*/ void Clear()
      {
      }

      protected override void ClearItems()
      {
         base.ClearItems();
      }
   }
}

Edited by - alanhowells on Jul 20 2006 06:50:52 AM
Go to Top of Page

khb
Tomato Guru

Germany
337 Posts

Posted - Jul 19 2006 :  06:43:50 AM  Show Profile  Reply with Quote
Just put the code between [ code ] and [ /code ]. But leave out the whitespaces I put inside of the brackets.

Regards,
Marcus.
Go to Top of Page

alanhowells
New Member

6 Posts

Posted - Jul 19 2006 :  06:53:35 AM  Show Profile  Reply with Quote
quote:
Originally posted by khb

Just put the code between [ code ] and [ /code ]. But leave out the whitespaces I put inside of the brackets.


Thanks Marcus, now done.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 22 2006 :  4:45:48 PM  Show Profile  Reply with Quote
thank you for the clear bug report, i am seeing the same thing

case=1770

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 19 2006 :  01:53:49 AM  Show Profile  Reply with Quote
Fixed in build 1535.
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