2002-10-14 Martin Baulig <martin@gnome.org>
authorMartin Baulig <martin@novell.com>
Mon, 14 Oct 2002 11:22:35 +0000 (11:22 -0000)
committerMartin Baulig <martin@novell.com>
Mon, 14 Oct 2002 11:22:35 +0000 (11:22 -0000)
* debug-mono-symfile.c (ves_icall_MonoDebugger_GetType): Use
mono_class_get() instead of looking in the class cache.

svn path=/trunk/mono/; revision=8241

mono/metadata/ChangeLog
mono/metadata/debug-mono-symfile.c

index 0965e63ea97dc0367fe93866c855080308d484c0..1eb8a6340ec72b024edd17d16bf5af8f5b60ffa8 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-14  Martin Baulig  <martin@gnome.org>
+
+       * debug-mono-symfile.c (ves_icall_MonoDebugger_GetType): Use
+       mono_class_get() instead of looking in the class cache. 
+
 2002-10-13  Martin Baulig  <martin@gnome.org>
 
        * debug-mono-symfile.c: Set version number to 28, include the
index 7869ef97920d11cf93c5f684727c17fbaa94f8f9..653b8e7f0caa1c1916b74cd835be937c9813257f 100644 (file)
@@ -612,7 +612,7 @@ ves_icall_MonoDebugger_GetType (MonoReflectionAssembly *assembly, guint32 token)
 {
        MonoClass *klass;
 
-       klass = g_hash_table_lookup (assembly->assembly->image->class_cache, GUINT_TO_POINTER (token));
+       klass = mono_class_get (assembly->assembly->image, token);
        if (!klass) {
                g_warning (G_STRLOC ": %x", token);
                return NULL;