add ISafeSerializationData
[mcs.git] / tests / test-anon-11.cs
blob255b0f1b704874031951249287a6904b8b1687f8
1 //
2 // Parameter and return value compilation tests for anonymous methods
3 //
4 delegate void D (int x);
5 delegate void E (out int x);
7 delegate void F (params int[] x);
9 class X {
10 static int Main ()
12 // This should create an AnonymousMethod with the implicit argument
13 D d1 = delegate {};
14 D d2 = delegate (int a) {};
16 F f1 = delegate {};
17 F f2 = delegate (int[] a) {};
19 return 0;