[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0161-2.cs
blob40c93a70a18ff9cae09363709cb5b2e85347fdba
1 // CS0161: `Test.Main()': not all code paths return a value
2 // Line: 4
3 class Test {
4 static int Main () {
5 bool b = false;
6 while (true) {
7 if (b)
8 break;
9 else
10 break;