2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0165-5.cs
blob5946c7cc160848dd2e96bbfe5a6b183f1f2dedc9
1 // cs0165-5.cs: 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;