diff --git a/src/Generator/Passes/CheckIgnoredDecls.cs b/src/Generator/Passes/CheckIgnoredDecls.cs index 87cedbe5..32db4677 100644 --- a/src/Generator/Passes/CheckIgnoredDecls.cs +++ b/src/Generator/Passes/CheckIgnoredDecls.cs @@ -389,7 +389,7 @@ namespace CppSharp.Passes Declaration decl; if (!finalType.TryGetDeclaration(out decl)) return true; - return !decl.IsIncomplete; + return !decl.IsIncomplete || decl.CompleteDeclaration != null; } private bool IsTypeIgnored(Type type)