Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 find all c'tor and ~c'tor

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
sshaked Posted - Jun 13 2018 : 06:51:29 AM
Hi friends,

How can I find all the c'tor in visual studio's project that have only 1 string argument?

Thank
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 13 2018 : 3:36:48 PM
Unfortunately this isn't something VA is designed to help you find. I don't think the IDE is designed to do this either.

If you can assume these are single line strings, I would start by doing a regular expression search for all string literals wrapped in round brackets. Using a regular expression will let you filter out certain types of false positive.
sshaked Posted - Jun 13 2018 : 09:54:27 AM
all constructors of all classes

I review a report and I need to check some titles like: void !ctor(string)
feline Posted - Jun 13 2018 : 08:43:28 AM
Do you mean all constructors for a given class? All constructors for a class and all of the classes derived from it? Or actually all constructors of all types?

Also you you mean the declarations, or all calls as well?

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