Warn about the use of non-generic collections
Open
Analyzers
Area-Diagnostics
Feature Request
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 144
Description
**Is your feature request related to a problem? Please describe.**
I'm an F# newbie and was working with some existing code that used `hashtable` which is non-generic. I was given some advice to use `Dictionary` instead by to be careful to not open `System.Collections` because it contains a non-generic version of `Dictionary`.
**Describe the solution you'd like**
As an F# newbie it would be nice if the compiler warned about this sort of thing.
**Describe alternatives you've considered**
I could try creating an FSharpLint rule for this.
**Additional context**
N/A
Contributor guide
Assessment
This issue has not been assessed yet.