Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@stephentoub
Copy link
Member

The wrappers aren't adding any benefit and are causing us to pull in the extensions type unnecessarily (and doing unnecessary null checks); just call the underlying methods directly.

cc: @cston, @jkotas

The wrappers aren't adding any benefit and are causing us to pull in the extensions type unnecessarily (and doing unnecessary null checks); just call the underlying methods directly.
@stephentoub stephentoub merged commit 4dd07b7 into dotnet:master Sep 17, 2019
@stephentoub stephentoub deleted the mscsharpreflect branch September 17, 2019 00:38
@stephentoub stephentoub added the assembly-size Issues related to the size of assemblies, before or after trimming label Sep 19, 2019
@karelz karelz added this to the 5.0 milestone Dec 19, 2019
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…et/corefx#41143)

* Remove use of RuntimeReflectionExtensions from Microsoft.CSharp

The wrappers aren't adding any benefit and are causing us to pull in the extensions type unnecessarily (and doing unnecessary null checks); just call the underlying methods directly.

* Address PR feedback


Commit migrated from dotnet/corefx@4dd07b7
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Microsoft.CSharp assembly-size Issues related to the size of assemblies, before or after trimming

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants