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

29 lines
354 B
C#

using System;
public class Class1<T>
where T : MyType
{
public void MethodOfClass1 (T a, MyType b)
{
a.MethodOfMyBaseType ();
}
}
public class MyType : MyBaseType
{
public override void MethodOfMyBaseType ()
{
}
}
public abstract class MyBaseType
{
public abstract void MethodOfMyBaseType ();
}
class X
{
public static void Main ()
{ }
}