From 9255ac4144f2fa5e31a8eadaa2ab3928ef3950a0 Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Sat, 2 Nov 2013 18:54:19 +0200 Subject: [PATCH] Added the method to its block to maintain the connection between them. Signed-off-by: Dimitar Dobrev --- 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 86b8d4e4..d76e3a8a 100644 --- a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs +++ b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs @@ -1702,7 +1702,7 @@ namespace CppSharp.Generators.CSharp public void GenerateMethod(Method method, Class @class) { - PushBlock(CSharpBlockKind.Method); + PushBlock(CSharpBlockKind.Method, method); GenerateDeclarationCommon(method); if (method.ExplicitInterfaceImpl == null)