[mcs] Consider method candidates with misplaced named arguments not applicable. Fixes...
[mono.git] / mcs / errors / cs0165-21.cs
1 // CS0165: Use of unassigned local variable `v'
2 // Line: 17
3
4 using System;
5
6 class C
7 {
8         void Test (int arg)
9         {
10                 int v;
11                 switch (arg) {
12                         case 1:
13                                 v = 0;
14                                 break;
15                 }
16
17                 Console.WriteLine (v);
18         }
19 }