From 79f7fb7b114f33bfa0d0cc6a2a6b32c23e850055 Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Fri, 16 Aug 2013 17:55:31 +0300 Subject: [PATCH] Generate qualified type names in property setters. 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 b4a57b8d..083023ae 100644 --- a/src/Generator/Generators/CSharp/CSharpMarshal.cs +++ b/src/Generator/Generators/CSharp/CSharpMarshal.cs @@ -437,7 +437,7 @@ namespace CppSharp.Generators.CSharp return; } - Context.Return.Write("*({0}.Internal*){1}.{2}", @class.Name, + Context.Return.Write("*({0}.Internal*){1}.{2}", CSharpMarshalNativeToManagedPrinter.QualifiedIdentifier(@class), Helpers.SafeIdentifier(Context.Parameter.Name), Helpers.InstanceIdentifier); }