Browse Source

Added the method to its block to maintain the connection between them.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
pull/99/head
Dimitar Dobrev 12 years ago
parent
commit
9255ac4144
  1. 2
      src/Generator/Generators/CSharp/CSharpTextTemplate.cs

2
src/Generator/Generators/CSharp/CSharpTextTemplate.cs

@ -1702,7 +1702,7 @@ namespace CppSharp.Generators.CSharp
public void GenerateMethod(Method method, Class @class) public void GenerateMethod(Method method, Class @class)
{ {
PushBlock(CSharpBlockKind.Method); PushBlock(CSharpBlockKind.Method, method);
GenerateDeclarationCommon(method); GenerateDeclarationCommon(method);
if (method.ExplicitInterfaceImpl == null) if (method.ExplicitInterfaceImpl == null)

Loading…
Cancel
Save