Make TypeComponentsCache trimmable (#80726)
Contributes to #80165.
Dispensing of reflection member infos is done through a member policies class. This is a generic class that has specialized implementations for each kind of member info.
It used a clever trick to get to the specific implementations. Just access `MemberPolicies<EventInfo>.Default` to get one for events or `MemberPolicies<PropertyInfo>.Default` to get one for properties. It was also absolutely not trimming friendly.
This change removes the clever trick and replaces it with good old fashioned parameter passing.
15 files changed: