a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
271 B
C#
24 lines
271 B
C#
// CS0165: Use of unassigned local variable `a'
|
|
// Line: 9
|
|
|
|
using System;
|
|
|
|
class C {
|
|
public static int test5 ()
|
|
{
|
|
int a;
|
|
|
|
try {
|
|
Console.WriteLine ("TRY");
|
|
a = 8;
|
|
} catch {
|
|
a = 9;
|
|
} finally {
|
|
// CS0165
|
|
Console.WriteLine (a);
|
|
}
|
|
|
|
return a;
|
|
}
|
|
}
|