diff --git a/mROA.Codegen/SampleIncrementalSourceGenerator.cs b/mROA.Codegen/SampleIncrementalSourceGenerator.cs
index 70e9e23..5c9e980 100644
--- a/mROA.Codegen/SampleIncrementalSourceGenerator.cs
+++ b/mROA.Codegen/SampleIncrementalSourceGenerator.cs
@@ -244,6 +244,7 @@ public class CoCodegenMethodRepository :IMethodRepository
var fronendRepoCode = @$"//
using System.Collections.Frozen;
+using mROA.Implementation;
namespace mROA.Codegen;
diff --git a/mROA.Codegen/obj/Debug/netstandard2.0/mROA.Codegen.AssemblyInfo.cs b/mROA.Codegen/obj/Debug/netstandard2.0/mROA.Codegen.AssemblyInfo.cs
index 204e091..2df56f9 100644
--- a/mROA.Codegen/obj/Debug/netstandard2.0/mROA.Codegen.AssemblyInfo.cs
+++ b/mROA.Codegen/obj/Debug/netstandard2.0/mROA.Codegen.AssemblyInfo.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("mROA.Codegen")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+fd1eda26618b8cebe94eaa0e27ce5e97353d2d09")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f51dd93c8755e9e879dfa42a02f470d64a7d711a")]
[assembly: System.Reflection.AssemblyProductAttribute("mROA.Codegen")]
[assembly: System.Reflection.AssemblyTitleAttribute("mROA.Codegen")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/mROA.Codegen/obj/mROA.Codegen.csproj.nuget.g.props b/mROA.Codegen/obj/mROA.Codegen.csproj.nuget.g.props
index 6f36b67..353ed1c 100644
--- a/mROA.Codegen/obj/mROA.Codegen.csproj.nuget.g.props
+++ b/mROA.Codegen/obj/mROA.Codegen.csproj.nuget.g.props
@@ -5,18 +5,18 @@
NuGet
$(MSBuildThisFileDirectory)project.assets.json
$(UserProfile)\.nuget\packages\
- C:\Users\Mimm\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
+ C:\Users\Mikhail\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
PackageReference
6.12.0
-
+
- C:\Users\Mimm\.nuget\packages\microsoft.codeanalysis.analyzers\3.3.4
+ C:\Users\Mikhail\.nuget\packages\microsoft.codeanalysis.analyzers\3.3.4
\ No newline at end of file
diff --git a/mROA.Example/Main.cs b/mROA.Example/Main.cs
index 4fa1f1f..f2ab4a4 100644
--- a/mROA.Example/Main.cs
+++ b/mROA.Example/Main.cs
@@ -1,4 +1,5 @@
using System.Runtime.InteropServices;
+using mROA.Implementation;
namespace mROA.Example;
@@ -6,6 +7,7 @@ public class MainX
{
public static void Main(string[] args)
{
+ IRemoteObject x;
// CoCodegenMethodRepository a = new CoCodegenMethodRepository();
unsafe
{
diff --git a/mROA.Example/obj/Debug/net9.0/mROA.Example.AssemblyInfo.cs b/mROA.Example/obj/Debug/net9.0/mROA.Example.AssemblyInfo.cs
index 1c37773..99f27b3 100644
--- a/mROA.Example/obj/Debug/net9.0/mROA.Example.AssemblyInfo.cs
+++ b/mROA.Example/obj/Debug/net9.0/mROA.Example.AssemblyInfo.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("mROA.Example")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+fd1eda26618b8cebe94eaa0e27ce5e97353d2d09")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f51dd93c8755e9e879dfa42a02f470d64a7d711a")]
[assembly: System.Reflection.AssemblyProductAttribute("mROA.Example")]
[assembly: System.Reflection.AssemblyTitleAttribute("mROA.Example")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/mROA.Example/obj/mROA.Example.csproj.nuget.g.props b/mROA.Example/obj/mROA.Example.csproj.nuget.g.props
index 7f9c9db..721d876 100644
--- a/mROA.Example/obj/mROA.Example.csproj.nuget.g.props
+++ b/mROA.Example/obj/mROA.Example.csproj.nuget.g.props
@@ -5,12 +5,12 @@
NuGet
$(MSBuildThisFileDirectory)project.assets.json
$(UserProfile)\.nuget\packages\
- C:\Users\Mimm\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
+ C:\Users\Mikhail\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
PackageReference
6.12.0
-
+
\ No newline at end of file
diff --git a/mROA.Test/obj/Debug/net9.0/mROA.Test.AssemblyInfo.cs b/mROA.Test/obj/Debug/net9.0/mROA.Test.AssemblyInfo.cs
index 1230625..81423e9 100644
--- a/mROA.Test/obj/Debug/net9.0/mROA.Test.AssemblyInfo.cs
+++ b/mROA.Test/obj/Debug/net9.0/mROA.Test.AssemblyInfo.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("mROA.Test")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+fd1eda26618b8cebe94eaa0e27ce5e97353d2d09")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f51dd93c8755e9e879dfa42a02f470d64a7d711a")]
[assembly: System.Reflection.AssemblyProductAttribute("mROA.Test")]
[assembly: System.Reflection.AssemblyTitleAttribute("mROA.Test")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/mROA.Test/obj/mROA.Test.csproj.nuget.g.props b/mROA.Test/obj/mROA.Test.csproj.nuget.g.props
index f0b8464..92a05d6 100644
--- a/mROA.Test/obj/mROA.Test.csproj.nuget.g.props
+++ b/mROA.Test/obj/mROA.Test.csproj.nuget.g.props
@@ -5,12 +5,12 @@
NuGet
$(MSBuildThisFileDirectory)project.assets.json
$(UserProfile)\.nuget\packages\
- C:\Users\Mimm\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
+ C:\Users\Mikhail\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
PackageReference
6.12.0
-
+
@@ -21,6 +21,6 @@
- C:\Users\Mimm\.nuget\packages\nunit.analyzers\4.6.0
+ C:\Users\Mikhail\.nuget\packages\nunit.analyzers\4.6.0
\ No newline at end of file
diff --git a/mROA/Implementation/Backend/JsonSerialisationModule.cs b/mROA/Implementation/Backend/JsonSerialisationModule.cs
index 5bc20c2..e9b589a 100644
--- a/mROA/Implementation/Backend/JsonSerialisationModule.cs
+++ b/mROA/Implementation/Backend/JsonSerialisationModule.cs
@@ -28,7 +28,10 @@ public class JsonSerialisationModule : ISerialisationModule
public void PostResponse(ICommandExecution call)
{
var texted = string.Empty;
- if (call is FinalCommandExecution finalCommand)
+ if (call is TypedFinalCommandExecution nonVoidCall)
+ {
+ texted = JsonSerializer.Serialize(nonVoidCall);
+ }else if (call is FinalCommandExecution finalCommand)
{
texted = JsonSerializer.Serialize(finalCommand);
}else if (call is AsyncCommandExecution asyncCommand)
diff --git a/mROA/Implementation/FinalCommandExecution.cs b/mROA/Implementation/FinalCommandExecution.cs
index 120084f..d6a96a3 100644
--- a/mROA/Implementation/FinalCommandExecution.cs
+++ b/mROA/Implementation/FinalCommandExecution.cs
@@ -18,6 +18,7 @@ public class FinalCommandExecution : FinalCommandExecution
public class TypedFinalCommandExecution : FinalCommandExecution