2009-12-12 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git] / tests / gtest-216.cs
blob5a53cd7445a42168ae445f445761c227ae43a85b
1 // bug #76382
2 // differentiate Foo() and Foo<>() on override resolution.
3 public interface Ret { }
4 public interface Ret<T> {}
6 public abstract class BaseClass
8 public virtual Ret Foo () { return null; }
9 public virtual Ret<T> Foo<T> () { return null; }
11 public static void Main () {}
14 public class DerivedClass : BaseClass
16 public override Ret Foo () { return null; }
17 public override Ret<T> Foo<T> () { return null; }