mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
18 lines
238 B
C#
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;
|
|
};
|
|
}
|
|
}
|