Skip to content

Convert Hashtable usage to Dictionary<TKey, TValue #8143

Open

Description

Is your feature request related to a problem? Please describe

Hashtable has been used all over the winforms code base.

Describe the solution you'd like and alternatives you've considered

Refactoring to Dictionary<TKey, TValue is explicit in its typing and avoids boxing.

The changes should not affect Public APIs.

System.Windows.Forms: 31 references
System.Windows.Forms.Design: 126 references

Related: #8140, #2644

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementProduct code improvement that does NOT require public API changes/additionstenet-performanceImprove performance, flag performance regressions across core releases

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions