diff --git a/src/Generator/Generators/CSharp/CSharpTypePrinter.cs b/src/Generator/Generators/CSharp/CSharpTypePrinter.cs index 1f714e15..75edf910 100644 --- a/src/Generator/Generators/CSharp/CSharpTypePrinter.cs +++ b/src/Generator/Generators/CSharp/CSharpTypePrinter.cs @@ -389,9 +389,6 @@ namespace CppSharp.Generators.CSharp if (ctx is TranslationUnit) break; - if (ctx is Namespace) - break; - if (!string.IsNullOrWhiteSpace(ctx.Name)) names.Add(ctx.Name);