Closed
Description
As discussed in: #90519 both:
-
DynamicDelegateLightup
-
ForceAllowDynamicCodeLightup
should utilize UnsafeAccessorAttribute
to simplify the logic of accessing the internal static methods in Delegate
and AssemblyBuilder
respectfully.
This would additionally remove the need for Internal.Runtime.Augments.DynamicDelegateAugments
forwarder and simplify the code in general.
For reference: similar refactoring has been done in: #89706