[Mono-dev] generic constraints support for corcompare
martin at ximian.com
Wed Oct 5 13:45:19 EDT 2005
On Wed, 2005-10-05 at 23:27 +0900, Atsushi Eno wrote:
> I would like to hear some advice.
> The attached patch makes corcompare stuff to differentiate generic
> constraints (i.e. "where") on both types and method parameters.
this is really cool :-)
> (To see the expected results you will have to create your own
> It should just work, but am wondering how those diffs should be
> shown in the class status pages. Currently this patch just puts
> mysterious "missing" mark on types.
> Any good ideas? Or if anyone hacks a fix it would be awesome.
Well, first of all, we need to include the type parameter names in the
type names, ie. use "ICollection[T]" instead of "ICollection`1". Btw. I
just realized that the display of generic types is currently broken
After that, maybe we can make things look like this:
+ K : IEnumerable[V]
X V : class
More information about the Mono-devel-list