X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fdis%2Fdeclsec.c;h=ff5ca5a59411fb90f57cb52f60f04ec5a59c66d6;hb=9a2c3234082cf2812da315a4fa58d73b6e2261f4;hp=29822bb4e45f3edc5795a8f2d7d51b867ea96d72;hpb=b2262f41726a89c8209facb3ea9e4be9582422b5;p=mono.git diff --git a/mono/dis/declsec.c b/mono/dis/declsec.c index 29822bb4e45..ff5ca5a5941 100644 --- a/mono/dis/declsec.c +++ b/mono/dis/declsec.c @@ -56,12 +56,18 @@ static gboolean 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;