Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 No listbox if overloads return different types

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
Nels_P_Olsen Posted - Jan 05 2006 : 3:46:32 PM
In C#, if a method or indexer has overloads that return different types, no member listbox appears when typing "." after an expression using that method/indexer.

For example, I have many strongly typed lists and dictionaries that have an indexer returning the collection's required type, as well as the indexer required by IList or IDictionary that returns object.
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Jan 08 2006 : 12:15:32 PM
Unlike for C++, the content of listboxes in C# is produced by the IDE, not by VA X. (Parsing of C# is relatively easy.) VA X only replaces the listbox itself with one that has coloring, a filtering toolbar, acronyms, etc.

We recommend feline's suggestion to try your example after disabling VA X.
feline Posted - Jan 08 2006 : 12:11:26 PM
i need to dig a bit more into this. a couple of days ago i tried this, and it worked in a C# windows program but not when i copied the same two basic overloads into a C# console program, to produce a smaller and simpler test case.

now today i cannot get this to work in the same C# windows program

i am using VS2003 and VA 1418 and VA 1438.

which IDE and version of VA are you using? the next step is to disable VA and see if the IDE can do this on its own, since it is possible the IDE cannot do this at all either.

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