Skip to content

Commit

Permalink
[mdoc] Fix output of GenericParameter (Cecil now overrides DeclaringT…
Browse files Browse the repository at this point in the history
…ype since 60ce19429e9cfaa770d72c2f395fdcdf11eb0f7b) not to include namespace (and match previous, correct, output)
  • Loading branch information
spouliot committed Oct 4, 2013
1 parent eda41be commit 8e037f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcs/tools/mdoc/Mono.Documentation/monodocer.cs
Expand Up @@ -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)) {
Expand Down

0 comments on commit 8e037f7

Please sign in to comment.