[Mono-devel-list] Patch for full-featured mcs /doc support

Ian MacLean ianm at ActiveState.com
Thu Dec 2 08:26:51 EST 2004


Atsushi Eno wrote:

>Well, I tried one broken paramref example that indicates wrong target
>(attached), on which csc never complains.
>
>So I am curious about that element; if there is any validation for
>paramref or not.
>
>  
>
Oh I see what you mean. I guess csc is not strict enough in that regard.
Does your doc patch warn with the attached sample ? If so then we must
have been lucky and got them all right in nant because I didn't get any
warnings while building.

>>I also used ndoc to build the nant user docs from the mcs/doc generated
>>xml - that all looks good too.
>>    
>>
>
>Cool :-) Thanks for trying it.
>  
>
np

Ian

>------------------------------------------------------------------------
>
>// Compiler options: -doc:xml-032.xml -warn:4 -warnaserror
>using System;
>
>class Test
>{
>	/// <exception cref="ArgumentNullException"><paramref name="wrongref" /> is <see langword="null" />.</exception>
>	/// <exception cref="ArgumentOutOfRangeException"><paramref name="wrongRefAgain" /> is a zero-length <see cref="string" />.</exception>
>	protected Test(string name) 
>	{
>	}
>
>	static void Main () {}
>}
>
>  
>




More information about the Mono-devel-list mailing list