C# completion list incorrect when parentheses used

SyntaxEditor .NET Languages Add-on for WPF Forum

Posted 8 years ago by Scott Currie
Version: 11.1.0544
Platform: Silverlight Controls
Environment: Windows 7 (64-bit)
Avatar
Repro steps:
1) Open WPF or Silverlight Syntax Editor C# Sample
2) Enter the following: "value".
3) Note that the completion list includes only the members of the string class.
4) Go to a new line and enter the following: ("value").
5) Note that the completion list contains a different and incorrect list of items.

Expected Results:
Completion list values match for "string". and ("string").

Actual Results:
They don't match.

Remarks:
The repro steps are contrived for simplicity, but this is a problem for a common real-world coding pattern - where a cast is required to access members from a parent type, e.g.:
((DerivedType)parentInstance).DerivedMember

Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Scott,

Thanks for posting this. We've made some code changes to better handle this in the next version.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.