Suggestion: Add refactoring for ArrayList
Open
Feature Request
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 294
- Avg merge
- 2h 30m
- Merged PRs (30d)
- 4
Description
Suppose we have an old code like this (belongs to .NET 1x):
```C#
ArrayList list = new ArrayList();
list.Add(1);
list.Add(2);
```
It would be really useful to have a refactoring for converting the `ArrayList` to a generic `List` to avoid the future boxings. The structure of this `List` should be detected from the usage of the `list` here: `List`
Contributor guide
Assessment
This issue has not been assessed yet.