C# completion list incorrect when parentheses used

SyntaxEditor .NET Languages Add-on for WPF Forum

Posted 13 years ago by Scott Currie
Version: 11.1.0544
Platform: .NET 4.0
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 13 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 (v24.1.2) was released 2 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.