<PackageReference Include="System.Reflection.DispatchProxy" Version="4.6.0-rc1.19456.4" />

System.Reflection.DispatchProxy

public abstract class DispatchProxy
Provides a mechanism for instantiating proxy objects and handling their method dispatch.
namespace System.Reflection { public abstract class DispatchProxy { protected DispatchProxy(); public static T Create<T, TProxy>() where TProxy : DispatchProxy; protected abstract object Invoke(MethodInfo targetMethod, object[] args); } }