Author |
Topic |
|
Nels_P_Olsen
Senior Member
USA
47 Posts |
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. |
- Nels |
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
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. |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
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. |
|
|
|
Topic |
|