a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
281 B
C#
24 lines
281 B
C#
namespace Test
|
|
{
|
|
public class Bar<T, U>
|
|
{
|
|
public void DoSomething<V> () where V : U
|
|
{
|
|
}
|
|
}
|
|
|
|
public class Baz
|
|
{
|
|
public void GetInTroubleHere ()
|
|
{
|
|
var bar = new Bar<string, string> ();
|
|
bar.DoSomething<string> ();
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|