diff --git a/src/Generator/AST/VTables.cs b/src/Generator/AST/VTables.cs index 040cf740..31a7689b 100644 --- a/src/Generator/AST/VTables.cs +++ b/src/Generator/AST/VTables.cs @@ -12,11 +12,13 @@ namespace CppSharp.AST { case CppAbi.Microsoft: return GatherVTableMethodsMS(@class); - default: + case CppAbi.Itanium: return GatherVTableMethodsItanium(@class); } - throw new NotSupportedException(); + throw new NotSupportedException( + string.Format("VTable format for {0} is not supported", @class.Layout.ABI.ToString().Split('.').Last()) + ); } private static List GatherVTableMethodEntries(VTableLayout layout)