Hi,
"Add to interface" feature correctly inserts method declaration into interface. However, it does not update list of using statements in interface file. This can lead to not compilable code. For example return type of added method can not be resolved if its namespace is not listed among using statement.
Regards, Przemyslaw
Steps to Reproduce:
- Open Class1.cs
- Invoke "Add to Interface: IClass1" for Foo() method
- Try to compile solution
Actual Results:
IList type is not found for IClass1 interface
Expected Results:
Code should compile;
"using System.Collections;" should be added to top of IClass1.cs or IList should be fully qualified with namespace