[System] Throw PlatformNotSupportedException if NetworkInformation.NetworkChange...
[mono-project.git] / mcs / tests / gtest-272.cs
blobf1981026c9b5f5fbc3706b263af394b43d449911
1 using System;
3 public delegate void Handler<T> (T t);
5 public static class X
7 public static void Foo<T> (Handler<T> handler) {
8 AsyncCallback d = delegate (IAsyncResult ar) {
9 Response<T> (handler);
13 static void Response<T> (Handler<T> handler)
14 { }
16 static void Test<T> (T t)
17 { }
19 public static void Main ()
21 Foo<long> (Test);