Posted 9 years ago by Gareth Hayter
Avatar
IntelliPrompt doesn't seem to work when using 'var' in a foreach statement, however it does work as expected when using 'var' by itself:

Works correctly (shows correct members in list):
var x = this.Controls[0];
x. <- type '.' to display IntelliPrompt

Broken (doesn't show correct members in list):
foreach (var x in this.Controls)
{
x. <- type '.' to display IntelliPrompt
}

Comments (1)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Gareth,

Thanks, this is a known issue with our context determination code. I'll mark the post down with its TODO item so we can let you know when we add it in the future.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 9 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.