We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9908c74 commit fcb3b93Copy full SHA for fcb3b93
src/Generator/Generators/CSharp/CSharpSources.cs
@@ -2032,7 +2032,7 @@ private void GenerateDisposeMethods(Class @class)
2032
2033
var dtor = @class.Destructors.FirstOrDefault();
2034
if (dtor != null && dtor.Access != AccessSpecifier.Private &&
2035
- @class.HasNonTrivialDestructor && !dtor.IsPure)
+ @class.HasNonTrivialDestructor && !@class.IsAbstract)
2036
{
2037
NativeLibrary library;
2038
if (!Options.CheckSymbols ||
0 commit comments