Browse Source

Improved error message for unhandled CIL type prints.

pull/696/head
Joao Matos 9 years ago
parent
commit
bbfff6eec0
  1. 2
      src/AST/CppTypePrinter.cs

2
src/AST/CppTypePrinter.cs

@ -218,7 +218,7 @@ namespace CppSharp.AST @@ -218,7 +218,7 @@ namespace CppSharp.AST
if (type.Type == typeof(string))
return quals.IsConst ? "const char*" : "char*";
throw new NotImplementedException();
throw new NotImplementedException(string.Format("Unhandled .NET type: {0}", type.Type));
}
public string VisitPrimitiveType(PrimitiveType type, TypeQualifiers quals)

Loading…
Cancel
Save