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

Remove GenericsInstances class from WindowsBase as it no longer needed #9990

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

h3xds1nz
Copy link
Contributor

@h3xds1nz h3xds1nz commented Oct 23, 2024

Description

Removes GenericsInstances class that was solely used for ngen purposes in NetFX to trigger generation for those generic types that were otherwise only defined on interfaces in WindowsBase (see comment).

I have done a test with CrossGen2 (R2R) and this wasn't being jitted. So imho it is safe to say it has outlived its purpose.
Using the output of DOTNET_JitDisasmSummary=1; while without publishing as R2R all those things were.

Customer Impact

Decreased assemblies size, cleaner codebase for developers.

Regression

No.

Testing

Local build, app run (more in description).

Risk

Don't think there's any.

Microsoft Reviewers: Open in CodeFlow

@h3xds1nz h3xds1nz requested review from a team as code owners October 23, 2024 21:08
@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 Oct 23, 2024
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