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

27 lines
323 B
C#

using System;
using System.Collections.Generic;
class A
{
void Test<T, U> () where T : class, IList<U>
{
Action a = () => {
var d = default (T);
Action a2 = () => {
d = null;
};
a2 ();
};
a ();
}
public static int Main ()
{
var a = new A ();
a.Test<int[], int> ();
return 0;
}
}