[Mono-dev] corcompare patch for printing generic method type arguments

Martin Baulig martin at ximian.com
Tue Oct 25 11:55:28 EDT 2005


On Tue, 2005-10-25 at 06:05 +0900, Atsushi Eno wrote:
> >> Then it prints
> >>
> >> 	Foo[T(IFoo), U(IBar)]
> >>  
> >>
> > I prefer the syntax where will be more obvious that it is about generic
> > possibly use same syntax as csc/gmcs use for error reporting.
> > Something like `Foo<T(IFoo), U (IBar)>'

Hi,

let's use the correct syntax here rather than inventing something new.
Marek already came very close, but the correct syntax is

	Foo<(IFoo) T, class U>

That's what ildasm uses.

Martin




More information about the Mono-devel-list mailing list