From a1689a2d3b0874e552dca6409fe1d0ddc59ee352 Mon Sep 17 00:00:00 2001 From: Friedrich von Never Date: Thu, 17 Aug 2023 22:11:16 +0200 Subject: [PATCH] (#354) Tests: add .NET pointer interop tests --- Cesium.CodeGen.Tests/CodeGenNetInteropTests.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Cesium.CodeGen.Tests/CodeGenNetInteropTests.cs b/Cesium.CodeGen.Tests/CodeGenNetInteropTests.cs index 460f10da..36c5e289 100644 --- a/Cesium.CodeGen.Tests/CodeGenNetInteropTests.cs +++ b/Cesium.CodeGen.Tests/CodeGenNetInteropTests.cs @@ -1,8 +1,13 @@ +using System.Diagnostics.CodeAnalysis; + namespace Cesium.CodeGen.Tests; public class CodeGenNetInteropTests { - private static void DoTest(TargetArchitectureSet architecture, string cSharpCode, string cCode) + private static void DoTest( + TargetArchitectureSet architecture, + [StringSyntax("csharp")] string cSharpCode, + [StringSyntax("cpp")] string cCode) { Assert.False(true, "TODO: Compile .NET Assembly, compile C assembly with reference to .NET, dump the byte code");