Posted 14 years ago
by Scott Currie
Version: 11.1.0544
Platform: .NET 4.0
Environment: Windows 7 (64-bit)

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
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