Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 View Context does not see fields after new keyword

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
alanhowells Posted - Jul 19 2006 : 06:05:40 AM
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:

5   L A T E S T    R E P L I E S    (Newest First)
support Posted - Sep 19 2006 : 01:53:49 AM
Fixed in build 1535.
feline Posted - Jul 22 2006 : 4:45:48 PM
thank you for the clear bug report, i am seeing the same thing

case=1770
alanhowells Posted - Jul 19 2006 : 06:53:35 AM
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.
khb Posted - Jul 19 2006 : 06:43:50 AM
Just put the code between [ code ] and [ /code ]. But leave out the whitespaces I put inside of the brackets.

Regards,
Marcus.
alanhowells Posted - Jul 19 2006 : 06:10:18 AM
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();
      }
   }
}

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