<PackageReference Include="System.Reflection.DispatchProxy" Version="4.8.2" />

System.Reflection.DispatchProxy

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