[mdoc] Explicitly order //Member children.
authorJonathan Pryor <jonpryor@vt.edu>
Thu, 4 Nov 2010 16:03:43 +0000 (12:03 -0400)
committerJonathan Pryor <jonpryor@vt.edu>
Thu, 4 Nov 2010 16:06:31 +0000 (12:06 -0400)
commit03c231a585c8ff46f93084210fa240e8f6e4f65b
treec6877ccf4f6d7cb9208a3ed07bcd115eb231df7d
parente3e0486d541b0b6d6930649455080652c07afa24
[mdoc] Explicitly order //Member children.

The problem is the intermixing of updating "old" documentation and
wanting the result to pass `mdoc validate`.

For example, mdoc-2.6 will only generate a <MemberSignature/> for C#,
while mdoc-2.8+ will generate two, one for C# and one for ILAsm.
Unfortunately, mdoc will _append_ the new <MemberSignature/> as the
_last_ child within <Member/>; result: 'mdoc validate' gives errors.

Oops.

Thus, we explicitly reorder //Member children so that the ordering
matches the order in monodoc-ecma.xsd.
mcs/tools/mdoc/Mono.Documentation/monodocer.cs