You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Product and Version Used:
Visual studio extension version 4.2.0
Steps to Reproduce:
Define code like below:
classMyCollection:Collection<Class1>{publicvoidAdd(Class2item){this.Add(item.ToClass1()));}publicvoidAddRange(IEnumerable<Class2>data){foreach(varitemindata){this.Add(item);// RCS1235 is reported here}}}
Actual Behavior:
No RCS1235 should be reported (but does not report this on RemoveRange implementation.
Expected Behavior:
Below refactor is suggested but it results into recursive call.
Product and Version Used:
Visual studio extension version 4.2.0
Steps to Reproduce:
Define code like below:
Actual Behavior:
No RCS1235 should be reported (but does not report this on
RemoveRange
implementation.Expected Behavior:
Below refactor is suggested but it results into recursive call.
The text was updated successfully, but these errors were encountered: