]> git.pld-linux.org Git - packages/mono.git/blob - mono-mdoc.patch
- added mdoc patch (backport from git, should fix Gendarme docs build)
[packages/mono.git] / mono-mdoc.patch
1 From commit ba222d4eb939ef097dd2b77b1fea5c3b8a60b310:
2 [monodoc] Ensure we don't try to use <Parameters> when it might be null. Fixes Gendarme doc generation.
3 --- mono-3.2.5/mcs/class/monodoc/Monodoc/providers/EcmaDoc.cs.orig      2014-01-10 22:50:32.232754015 +0100
4 +++ mono-3.2.5/mcs/class/monodoc/Monodoc/providers/EcmaDoc.cs   2014-01-10 22:49:58.674597265 +0100
5 @@ -551,6 +551,7 @@
6                                 break;
7                         // binary operators: overloading is possible [ECMA-335 ยง10.3.2]
8                         default:
9 +                               if (member.Element ("Parameters") != null)
10                                 memberSignature =
11                                         nicename + "("
12                                         + string.Join (",", member.Element ("Parameters").Elements ("Parameter").Select (p => (string)p.Attribute ("Type")))
This page took 0.027075 seconds and 3 git commands to generate.