Skip to content

Replace ArrayList in HwndHost with generic List<HwndSourceHook>#10248

Open
h3xds1nz wants to merge 1 commit intodotnet:mainfrom
h3xds1nz:hwndhost-arraylist
Open

Replace ArrayList in HwndHost with generic List<HwndSourceHook>#10248
h3xds1nz wants to merge 1 commit intodotnet:mainfrom
h3xds1nz:hwndhost-arraylist

Conversation

@h3xds1nz
Copy link
Member

@h3xds1nz h3xds1nz commented Jan 9, 2025

Description

Replaces ArrayList with List<HwndSourceHook> for increased type safety and slightly improved performance.

Customer Impact

Cleaner codebase for developers, getting rid of ArrayList.

Regression

No.

Testing

Local build, sample app run.

Risk

Minimal, just type swap.

Microsoft Reviewers: Open in CodeFlow

@h3xds1nz h3xds1nz requested review from a team as code owners January 9, 2025 18:57
@dotnet-policy-service dotnet-policy-service bot added PR metadata: Label to tag PRs, to facilitate with triage Community Contribution A label for all community Contributions labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Contribution A label for all community Contributions PR metadata: Label to tag PRs, to facilitate with triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant