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

@@ -13,7 +13,7 @@
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<M42ExtensionId>6673a25d-33d6-4072-91d9-abed4be1a966</M42ExtensionId>
<M42AssemblyPattern>C4ITF4SD*.*</M42AssemblyPattern>
<M42PackageVersion>1.4.0.27</M42PackageVersion>
<M42PackageVersion>1.4.0.28</M42PackageVersion>
<M42BuildPackage>true</M42BuildPackage>
</PropertyGroup>

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);