Improve inline docs
authorMiguel de Icaza <miguel@gnome.org>
Thu, 5 Sep 2013 04:14:14 +0000 (00:14 -0400)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 5 Sep 2013 04:14:32 +0000 (00:14 -0400)
mono/metadata/class.c

index 2603bfc747b1eeb92cc084ff9b34afb43451737b..06cec52aae8367a1eb2545c13de0a681f72388e1 100644 (file)
@@ -7446,7 +7446,11 @@ search_modules (MonoImage *image, const char *name_space, const char *name)
  * @name: the type short name.
  *
  * Obtains a MonoClass with a given namespace and a given name which
- * is located in the given MonoImage.   
+ * is located in the given MonoImage.
+ *
+ * To reference nested classes, use the "/" character as a separator.
+ * For example use "Foo/Bar" to reference the class Bar that is nested
+ * inside Foo, like this: "class Foo { class Bar {} }".
  */
 MonoClass *
 mono_class_from_name (MonoImage *image, const char* name_space, const char *name)