-// cs0165-11.cs: Use of unassigned local variable `fb'
-// Line: 12
+// CS0165: Use of unassigned local variable `fb'
+// Line: 17
+
using System.Collections;
-public class EntryPoint {
- public static void Main() {
- ArrayList fields = new ArrayList();
+public class EntryPoint
+{
+ public static void Main ()
+ {
+ ArrayList fields = new ArrayList ();
- Field fb;
- while (fields.Count > 0) {
- fb = (Field) fields[0];
- }
+ Field fb;
+ while (fields.Count > 0) {
+ fb = (Field) fields[0];
+ }
- if (fb.Name != "b") {
- System.Console.WriteLine ("shouldn't compile here.");
- }
- }
+ if (fb.Name != "b") {
+ System.Console.WriteLine ("shouldn't compile here.");
+ }
+ }
- public class Field
- {
- public string Name;
- }
+ public class Field
+ {
+ public string Name;
+ }
}