Hi,
"Declare Property" and "Declare Property (with backing store)" features correctly insert property declaration into class. However, they do not update list of using statements. This can lead to not compilable code when type of added property can not be resolved because of missing using statement.
Regards, Przemyslaw
Steps to Reproduce:
- Open Class2.cs
- Invoke "Declare Property" or "Declare Property (with backing store)" on Bar property inside Foo() method body
Actual Results:
Class1.Bar property of type List<string> is created, but List<string> can not be resolved
Expected Results:
Code compiles without errors.