for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs0165-8.cs
blobea6411b797813a385df0ecd3f13d0b1476c4d5d8
1 // CS0165: Use of unassigned local variable `service'
2 // Line: 17
3 using System;
5 public class Foo
7 static void Main ()
9 int service;
11 foreach (char b in "hola") {
12 Console.WriteLine (b);
13 service = 1;
14 break;
17 Console.WriteLine (service);