Browse Source

Skip implementation generation for proxy methods.

pull/16/merge
triton 13 years ago
parent
commit
cca70acea5
  1. 5
      src/Generator/Generators/CSharp/CSharpTextTemplate.cs

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

@ -1170,6 +1170,9 @@ namespace CppSharp.Generators.CSharp @@ -1170,6 +1170,9 @@ namespace CppSharp.Generators.CSharp
WriteStartBraceIndent();
if (method.IsProxy)
goto SkipImpl;
if (@class.IsRefType)
{
if (method.IsConstructor)
@ -1201,6 +1204,8 @@ namespace CppSharp.Generators.CSharp @@ -1201,6 +1204,8 @@ namespace CppSharp.Generators.CSharp
}
}
SkipImpl:
WriteCloseBraceIndent();
PopBlock(NewLineKind.BeforeNextBlock);
}

Loading…
Cancel
Save