Files
mono/mcs/errors/cs1643.cs
T
Marek Safar 0c31213775 error messages review
svn path=/trunk/mcs/; revision=46724
2005-06-29 14:55:08 +00:00

18 lines
238 B
C#

// cs1643.cs: Not all code paths return a value in anonymous method of type `X.T'
// Line: 12
using System;
class X {
delegate int T ();
static void Main ()
{
int a = 1;
T t = delegate {
if (a == 1)
return 1;
};
}
}