Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0165-5.cs
blob789f3e179d2f8830d7d8d9ce80a82f7e8cecfae7
1 // CS0165: Use of unassigned local variable `a'
2 // Line: 9
4 using System;
6 class C {
7 public static int test5 ()
9 int a;
11 try {
12 Console.WriteLine ("TRY");
13 a = 8;
14 } catch {
15 a = 9;
16 } finally {
17 // CS0165
18 Console.WriteLine (a);
21 return a;