<PackageReference Include="Castle.Core" Version="5.2.1" />

InheritanceInvocationWithoutTarget

using System; using System.ComponentModel; using System.Reflection; using System.Runtime.CompilerServices; namespace Castle.DynamicProxy.Internal { [EditorBrowsable(EditorBrowsableState.Never)] public sealed class InheritanceInvocationWithoutTarget : InheritanceInvocation { [System.Runtime.CompilerServices.NullableContext(1)] public InheritanceInvocationWithoutTarget(Type targetType, object proxy, IInterceptor[] interceptors, MethodInfo proxiedMethod, object[] arguments) : base(targetType, proxy, interceptors, proxiedMethod, arguments) { } protected override void InvokeMethodOnTarget() { ThrowOnNoTarget(); } } }