diff --git a/src/Generator/Generators/CLI/CLISourcesTemplate.cs b/src/Generator/Generators/CLI/CLISourcesTemplate.cs index 4aef1cac..1a13b35e 100644 --- a/src/Generator/Generators/CLI/CLISourcesTemplate.cs +++ b/src/Generator/Generators/CLI/CLISourcesTemplate.cs @@ -885,7 +885,6 @@ namespace CppSharp.Generators.CLI }; var marshal = new CLIMarshalManagedToNativePrinter(ctx); - param.Visit(marshal); if (string.IsNullOrEmpty(marshal.Context.Return))