linux-packaging-mono/mcs/tests/gtest-partial-09.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

58 lines
559 B
C#

namespace A
{
public partial class B<T>
{
public partial class C
{
public class A { }
}
}
}
namespace A
{
public abstract partial class B<T> where T : B<T>.C
{
}
}
namespace A
{
public partial class B<T>
{
public partial class C : I
{
}
}
}
namespace A
{
public interface Ibase
{
}
public partial class B<T>
{
public interface I : Ibase
{
}
}
}
namespace A
{
class Bar : B<Bar>.C
{
}
public class Test
{
public static void Main ()
{
Ibase b = new Bar ();
System.Console.WriteLine (b != null);
}
}
}