Browse Source

Fixed the generated C# for destructors of abstract classes.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/1139/head
Dimitar Dobrev 7 years ago
parent
commit
fcb3b93f55
  1. 2
      src/Generator/Generators/CSharp/CSharpSources.cs

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

@ -2032,7 +2032,7 @@ namespace CppSharp.Generators.CSharp @@ -2032,7 +2032,7 @@ namespace CppSharp.Generators.CSharp
var dtor = @class.Destructors.FirstOrDefault();
if (dtor != null && dtor.Access != AccessSpecifier.Private &&
@class.HasNonTrivialDestructor && !dtor.IsPure)
@class.HasNonTrivialDestructor && !@class.IsAbstract)
{
NativeLibrary library;
if (!Options.CheckSymbols ||

Loading…
Cancel
Save