AddOpen opens the wrong namespace for IEnumerator
Open
Area-LangService-CodeFixes
Bug
good first issue
help wanted
Impact-Medium
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 144
Description
**Repro steps**
```fsharp
let x (enumerator: IEnumerator<'t>) = ()
```
Use the suggested code fix for `IEnumerator`.
**Expected behavior**
Code fix suggests to open `System.Collections.Generic`.
**Actual behavior**
Code fix suggests to open `System.Collections`, which only contains the non-generic `IEnumerator`.
**Known workarounds**
None.
**Related information**
VS 17.8.0 Preview 3.0
Contributor guide
Assessment
This issue has not been assessed yet.