Bugzilla – Bug 317082
[GMCS]: Inheritance whith generic interfaces
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by cl.koppensteiner@kabsi.at 2005-02-02 12:28:05 MST ---- Following code produces the error "CS0117: `T' does not contain a definition for `DoSomeThing'" on a current 1.1.4 snapshot. public interface IBase { void DoSomeThing(); } public interface IExtended : IBase { void DoSomeThingElse(); } public class MyClass<T> where T: IExtended, new() { public MyClass() { T instance = new T(); instance.DoSomeThing(); } } ---- Additional Comments From martin@ximian.com 2005-04-29 11:56:43 MST ---- Fixed in SVN. Unknown operating system unknown. Setting to default OS "Other".