From 5d308dc7c37512e797b03d4ec1b1d1e299c4d338 Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Sun, 15 Sep 2013 22:41:28 +0300 Subject: [PATCH] Fixed the generation of calls to members of nested classes. Signed-off-by: Dimitar Dobrev --- src/Generator/Generators/CSharp/CSharpMarshal.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/Generators/CSharp/CSharpMarshal.cs b/src/Generator/Generators/CSharp/CSharpMarshal.cs index f22ad462..397d6791 100644 --- a/src/Generator/Generators/CSharp/CSharpMarshal.cs +++ b/src/Generator/Generators/CSharp/CSharpMarshal.cs @@ -261,7 +261,7 @@ namespace CppSharp.Generators.CSharp // Call the copy constructor. Context.SupportBefore.WriteLine("{0}.Internal.{1}({2}, new global::System.IntPtr(&{3}));", - @class.QualifiedName, + QualifiedIdentifier(@class), CSharpTextTemplate.GetFunctionNativeIdentifier(copyCtorMethod), instanceName, instance); }