declsec_20_write_type (GString *str, char type)
{
switch (type) {
+ case MONO_TYPE_BOOLEAN:
+ g_string_append (str, "bool");
+ break;
case MONO_TYPE_SZARRAY:
g_string_append (str, "[]");
break;
case MONO_TYPE_SYSTEM_TYPE:
g_string_append (str, "type");
break;
+ case MONO_TYPE_STRING:
+ g_string_append (str, "string");
+ break;
default:
g_warning ("TODO type %d - please fill a bug report on this!", type);
return FALSE;