fix: allow journal notification proxy generation
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
||||||
<M42ExtensionId>6673a25d-33d6-4072-91d9-abed4be1a966</M42ExtensionId>
|
<M42ExtensionId>6673a25d-33d6-4072-91d9-abed4be1a966</M42ExtensionId>
|
||||||
<M42AssemblyPattern>C4ITF4SD*.*</M42AssemblyPattern>
|
<M42AssemblyPattern>C4ITF4SD*.*</M42AssemblyPattern>
|
||||||
<M42PackageVersion>1.4.0.27</M42PackageVersion>
|
<M42PackageVersion>1.4.0.28</M42PackageVersion>
|
||||||
<M42BuildPackage>true</M42BuildPackage>
|
<M42BuildPackage>true</M42BuildPackage>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -163,8 +163,12 @@ namespace C4IT.F4SD
|
|||||||
.Invoke(null, null);
|
.Invoke(null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
private sealed class NoOpInterfaceProxy : DispatchProxy
|
public class NoOpInterfaceProxy : DispatchProxy
|
||||||
{
|
{
|
||||||
|
public NoOpInterfaceProxy()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
protected override object Invoke(MethodInfo targetMethod, object[] args)
|
protected override object Invoke(MethodInfo targetMethod, object[] args)
|
||||||
{
|
{
|
||||||
return GetDefaultValue(targetMethod?.ReturnType);
|
return GetDefaultValue(targetMethod?.ReturnType);
|
||||||
|
|||||||
Reference in New Issue
Block a user