diff --git a/src/Generator/Generators/CLI/CLIHeadersTemplate.cs b/src/Generator/Generators/CLI/CLIHeadersTemplate.cs index 3420f6eb..3e2b16a6 100644 --- a/src/Generator/Generators/CLI/CLIHeadersTemplate.cs +++ b/src/Generator/Generators/CLI/CLIHeadersTemplate.cs @@ -607,14 +607,6 @@ namespace CppSharp.Generators.CLI return true; } - else if (typedef.Type.IsEnumType()) - { - // Already handled in the parser. - } - else - { - Log.Debug("Unresolved typedef type: {0}", typedef); - } return false; } diff --git a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs index f68a6a27..a7bc4ab4 100644 --- a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs +++ b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs @@ -2285,16 +2285,6 @@ namespace CppSharp.Generators.CSharp TypePrinter.PopContext(); PopBlock(NewLineKind.BeforeNextBlock); } - else if (typedef.Type.IsEnumType()) - { - // Already handled in the parser. - return false; - } - else - { - Log.Debug("Unresolved typedef type: {0}", typedef); - return false; - } return true; }