[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0165-12.cs
blob05e2fb2ac2344588a46bd3c9a896b99cd6b19c09
1 // CS0165: Use of unassigned local variable `foo'
2 // Line: 17
4 class X
6 static void Main ()
8 int foo;
10 int i = 0;
11 if (i == 1)
12 goto e;
14 goto f;
17 i += foo;
20 goto b;
23 foo = 5;
26 goto c;