[mono/mono] 8e037f7c: [mdoc] Fix output of GenericParameter (Cecil now overrides DeclaringType since 60ce19429e9cfaa770d72c2f395fdcdf11eb0f7b) not to include namespace (and match previous, correct, output)

"Sebastien Pouliot ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <000001418132c77a-81d727d3-f2ec-4fc1-b20b-b8750ce1dbb0-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/eda41be35500...8e037f7ceffa

   Commit: 8e037f7ceffa9d2b72d76451fbf5c5e388efe349
   Author: Sebastien Pouliot <[email protected]> (spouliot)
     Date: 2013-10-04 01:59:41 GMT
      URL: https://github.com/mono/mono/commit/8e037f7ceffa9d2b72d76451fbf5c5e388efe349

[mdoc] Fix output of GenericParameter (Cecil now overrides DeclaringType since 60ce19429e9cfaa770d72c2f395fdcdf11eb0f7b) not to include namespace (and match previous, correct, output)

Changed paths:
  M mcs/tools/mdoc/Mono.Documentation/monodocer.cs

Modified: mcs/tools/mdoc/Mono.Documentation/monodocer.cs
===================================================================
@@ -3365,10 +3365,10 @@ protected StringBuilder _AppendTypeName (StringBuilder buf, TypeReference type,
 		if (type is PointerType) {
 			return AppendPointerTypeName (buf, type, context);
 		}
-		AppendNamespace (buf, type);
 		if (type is GenericParameter) {
 			return AppendTypeName (buf, type, context);
 		}
+		AppendNamespace (buf, type);
 		GenericInstanceType genInst = type as GenericInstanceType;
 		if (type.GenericParameters.Count == 0 &&
 				(genInst == null ? true : genInst.GenericArguments.Count == 0)) {


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.