[Doxygen-users] Problem with documenting generic parameter contraints in c#
Brought to you by:
dimitri
From: Steen M. <st...@db...> - 2007-05-24 13:33:52
|
Hi. We have a problem generating dokumentation from certain generic classes in our code base. The problem consists of getting doxygen to show the parameter contraints from the C# code: C# example: using System; using System.Collections.Generic; public sealed class GenericsTest{ public List<T> GenericList <T>() where T:IDisposable{ return new List<T>(); } } This will show up in the documentation as: Public Member Functions List< T > GenericList <cid:par...@db...> () where T Thereby stripping the documentation of the information that the class itself is generic (the "GenericList<T>" bit) as well as the information on the parameter constraints(the "where T: IDisposable" bit) This looks like a neglection in the parsing of the c# source, which I would be happy to provide a patch to, if I was able to find my way through the doxygen code... Pointers, solutions or ideas are most welcome! Best regards, Steen Manniche Danish Library Centre |