fix: allow journal notification proxy generation

This commit is contained in:
Meik
2026-07-01 00:32:11 +02:00
parent 1e3ec1cc22
commit 62a44568d1
2 changed files with 6 additions and 2 deletions

View File

@@ -163,8 +163,12 @@ namespace C4IT.F4SD
.Invoke(null, null);
}
private sealed class NoOpInterfaceProxy : DispatchProxy
public class NoOpInterfaceProxy : DispatchProxy
{
public NoOpInterfaceProxy()
{
}
protected override object Invoke(MethodInfo targetMethod, object[] args)
{
return GetDefaultValue(targetMethod?.ReturnType);