Bugzilla – Bug 317517
[GMCS] generic type causes resolution failure on "where" section
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by atsushi@ximian.com 2005-03-22 23:40:52 MST ---- When generic type was specified for "where" section, gmcs cannot resolve the type name. Steps to reproduce the problem: Compile the example below. using System; static class Test1 { public class IOp<T> { } static void Foo<T,OP>(uint v) where OP : IOp<T> { } }; Actual Results: generic.cs(4) error CS0246: Cannot find type 'T' Compilation failed: 1 error(s), 0 warnings Expected Results: no CS0246 error. How often does this happen? consistently. ---- Additional Comments From martin@ximian.com 2005-04-22 15:43:10 MST ---- Fixed in SVN. This bug blocked bug(s) 73995. Unknown operating system unknown. Setting to default OS "Other".