From d8adef816b5627affd2ca2a42480cf200a2d7ae4 Mon Sep 17 00:00:00 2001 From: triton Date: Sun, 18 Aug 2013 19:09:04 +0100 Subject: [PATCH] Copy constructor P/Invokes are now generated in C# backend. --- src/Generator/Generators/CSharp/CSharpTextTemplate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs index f9e2f9a5..963d3031 100644 --- a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs +++ b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs @@ -418,7 +418,7 @@ namespace CppSharp.Generators.CSharp foreach (var ctor in @class.Constructors) { - if (ctor.IsCopyConstructor || ctor.IsMoveConstructor) + if (ctor.IsMoveConstructor) continue; tryAddOverload(ctor);