diff --git a/Directory.Build.props b/Directory.Build.props index a194e70..2facad9 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - 3.4.0 + 3.4.1 10.0 Jeremy D. Miller;Babu Annamalai;Oskar Dudycz;Joona-Pekka Kokko net6.0;net7.0;net8.0 diff --git a/src/CodegenTests/Samples/Codegen.cs b/src/CodegenTests/Samples/Codegen.cs index 09d8652..f810cdc 100644 --- a/src/CodegenTests/Samples/Codegen.cs +++ b/src/CodegenTests/Samples/Codegen.cs @@ -48,6 +48,7 @@ namespace Generated { public class AddOperator : IOperation { + // Some comment public int Calculate(int one, int two) { return one + two; diff --git a/src/JasperFx.CodeGeneration/CodeFormatter.cs b/src/JasperFx.CodeGeneration/CodeFormatter.cs index 80d2b14..f0bec95 100644 --- a/src/JasperFx.CodeGeneration/CodeFormatter.cs +++ b/src/JasperFx.CodeGeneration/CodeFormatter.cs @@ -8,6 +8,8 @@ public static class CodeFormatter { public static string Write(object? value) { + // TODO -- add Guid, int, double, long, bool + if (value == null) { return "null"; diff --git a/src/JasperFx.CodeGeneration/Model/Variable.cs b/src/JasperFx.CodeGeneration/Model/Variable.cs index b0edd9d..177b806 100644 --- a/src/JasperFx.CodeGeneration/Model/Variable.cs +++ b/src/JasperFx.CodeGeneration/Model/Variable.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Linq.Expressions; using System.Reflection; diff --git a/src/JasperFx.RuntimeCompiler/JasperFx.RuntimeCompiler.csproj b/src/JasperFx.RuntimeCompiler/JasperFx.RuntimeCompiler.csproj index 2dcef0f..61b1466 100644 --- a/src/JasperFx.RuntimeCompiler/JasperFx.RuntimeCompiler.csproj +++ b/src/JasperFx.RuntimeCompiler/JasperFx.RuntimeCompiler.csproj @@ -5,9 +5,9 @@ latest - - - + + +