Comment style; Wrap at 100
[mono.git] / mono / metadata / debug-helpers.c
index 7e2341292ef3454dd9bd042e15905e4263dcfcc1..f38a054125710fab5281f9e0facb68b7aa1e5e4f 100644 (file)
@@ -327,7 +327,7 @@ mono_method_desc_new (const char *name, gboolean include_namespace)
                return NULL;
        }
        /* allow two :: to separate the method name */
-       if (method_name [-1] == ':')
+       if (method_name != class_nspace && method_name [-1] == ':')
                method_name [-1] = 0;
        *method_name++ = 0;
        class_name = strrchr (class_nspace, '.');