Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup: Delete Pair of TKey, TValue #9265

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

ladipro
Copy link
Member

@ladipro ladipro commented Sep 25, 2023

Context

The sole purpose of introducing the type seems to have been silencing a legacy code analyzer rule. The rule does not exist anymore / has not been brought over to Roslyn (dotnet/roslyn-analyzers#722) and it's now hurting performance, if anything. We seem to be using primarily instantiations where both TKey and TValue are reference types, which will pick up the __Canon, __Canon instantiation from the mscorlib native image. The rest is handled by IBC/OptProf.

Changes Made

Deleted Pair<TKey, TValue> and its uses.

Testing

Experimental insertion to confirm no regressions.

@YuliiaKovalova YuliiaKovalova merged commit 0bc6323 into dotnet:main Sep 26, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants