[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs1643.cs
1 // CS1643: Not all code paths return a value in anonymous method of type `X.T'
2 // Line: 12
3 using System;
4
5 class X {
6         delegate int T ();
7
8         static void Main ()
9         {
10                 int a = 1;
11                 
12                 T t = delegate {
13                         if (a == 1)
14                                 return 1;
15                 };
16         }
17 }