Skip to content

Remove obsolete/dead code overloads and options from MimeObjectFactory - #10227

Open
h3xds1nz wants to merge 4 commits into
dotnet:mainfrom
h3xds1nz:mime-factory-opt
Open

h3xds1nz wants to merge 4 commits into
dotnet:mainfrom
h3xds1nz:mime-factory-opt

Conversation

@h3xds1nz

@h3xds1nz h3xds1nz commented Jan 5, 2025 •

Copy link
Copy Markdown
Member

Description

Removes the non-core delegate type, its methods and the always-initialized dictionary of 9 items since they were never registered and the normal Register method is never called, freeing some memory usage.

Also removes canUseTopLevelBrowser from the signature as thats irrelevant on .NET Core since XBAP removal.

Customer Impact

Slightly less memory usage thanks to the dictionary removal.

Regression

No.

Testing

Local build.

Risk

Minimum.

Microsoft Reviewers: Open in CodeFlow

@h3xds1nz
h3xds1nz requested review from a team as code owners January 5, 2025 15:38
@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 5, 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