Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / errors / cs0165-8.cs
1 // CS0165: Use of unassigned local variable `service'
2 // Line: 17
3 using System;
4
5 public class Foo
6 {
7         static void Main ()
8         {
9                 int service;
10
11                 foreach (char b in "hola") {
12                         Console.WriteLine (b);
13                         service = 1;
14                         break;
15                 }
16
17                 Console.WriteLine (service);
18         }
19 }