Bugzilla – Bug 324701
[GMCS] CS0693 not reported for type parameter name clash
Last modified: 2011-06-03 20:37:21 UTC
---- Reported by gert.driesen@pandora.be 2007-07-07 03:33:00 MST ---- gmcs currently does not report CS0693 when a type parameter has the the same name as the type parameter from the declaring type. To reproduce, compile the following code snippet (using gmcs /target:library test.cs): class SlowConvert<K, T> { public void Reverse<K, B> () { } } Expected result: test2.cs(3,22): warning CS0693: Type parameter 'K' has the same name as the type parameter from outer type 'SlowConvert<K,T>' Actual result: No warning. ---- Additional Comments From marek.safar@seznam.cz 2007-08-21 10:30:11 MST ---- Changed to major.
Fixed in SVN.