From c29282519b48d5fbfd73dd2bd1306a7844174f29 Mon Sep 17 00:00:00 2001 From: Jb Evain Date: Fri, 12 Mar 2010 14:53:56 +0000 Subject: [PATCH] 2010-03-12 Jb Evain * dump.c (dump_table_exported): dump the type flags as well. svn path=/trunk/mono/; revision=153515 --- mono/dis/ChangeLog | 4 ++++ mono/dis/dump.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mono/dis/ChangeLog b/mono/dis/ChangeLog index 8283f0c3f1a..b788cdef9cc 100644 --- a/mono/dis/ChangeLog +++ b/mono/dis/ChangeLog @@ -1,3 +1,7 @@ +2010-03-12 Jb Evain + + * dump.c (dump_table_exported): dump the type flags as well. + Wed Feb 24 16:00:56 CET 2010 Paolo Molaro diff --git a/mono/dis/dump.c b/mono/dis/dump.c index e4f63fa7319..327218e1686 100644 --- a/mono/dis/dump.c +++ b/mono/dis/dump.c @@ -1003,7 +1003,7 @@ dump_table_exported (MonoImage *m) int i; const char *name, *nspace; char *impl; - guint32 index; + guint32 index, flags; fprintf (output, "ExportedType Table (1..%d)\n", t->rows); for (i = 1; i <= t->rows; i++) { @@ -1012,7 +1012,8 @@ dump_table_exported (MonoImage *m) nspace = mono_metadata_string_heap (m, cols [MONO_EXP_TYPE_NAMESPACE]); impl = get_manifest_implementation (m, cols [MONO_EXP_TYPE_IMPLEMENTATION]); index = cols [MONO_EXP_TYPE_TYPEDEF]; - fprintf (output, "%d: %s%s%s is in %s, token %x\n", i, nspace, *nspace ? "." : "", name, impl, index); + flags = cols [MONO_EXP_TYPE_FLAGS]; + fprintf (output, "%d: %s%s%s is in %s, index=%x, flags=0x%x\n", i, nspace, *nspace ? "." : "", name, impl, index, flags); g_free (impl); } -- 2.25.1