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

26 lines
344 B
C#

using System;
delegate void Foo<R,S> (R r, S s);
class X
{
public void Hello<U,V> (U u, V v)
{ }
public void Test<A,B,C> (A a, B b, C c)
{
Hello (a, b);
C d = c;
Foo<A,int> foo = delegate (A i, int j) {
Hello (i, c);
Hello (i, j);
};
}
public static void Main ()
{
X x = new X ();
x.Test (3, Math.PI, 1 << 8);
}
}