Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

23 lines
536 B
C#

// CS0246: The type or namespace name `IBase' could not be found. Are you missing `Foo' using directive?
// Line: 15
namespace Foo {
public interface IBase {
object X { get; }
}
}
public interface IDerived<T> : Foo.IBase {
T X { get; }
}
public class Test<T> {
public class Y : IDerived<T>, IBase
{
public T X { get { return default (T); } }
object Foo.IBase.X {
get { return default (T); }
}
}
}