diff --git a/src/Generator/Types/Types.cs b/src/Generator/Types/Types.cs index 8d1393d9..56056b1c 100644 --- a/src/Generator/Types/Types.cs +++ b/src/Generator/Types/Types.cs @@ -55,7 +55,7 @@ namespace CppSharp if (decl.CompleteDeclaration != null) return VisitDeclaration(decl.CompleteDeclaration); - if (decl.ExplicityIgnored) + if (decl.GenerationKind == GenerationKind.None) { Ignore(); return false;