a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
28 lines
399 B
C#
28 lines
399 B
C#
// CS0165: Use of unassigned local variable `fb'
|
|
// Line: 17
|
|
|
|
using System.Collections;
|
|
|
|
public class EntryPoint
|
|
{
|
|
public static void Main ()
|
|
{
|
|
ArrayList fields = new ArrayList ();
|
|
|
|
Field fb;
|
|
while (fields.Count > 0) {
|
|
fb = (Field) fields[0];
|
|
}
|
|
|
|
if (fb.Name != "b") {
|
|
System.Console.WriteLine ("shouldn't compile here.");
|
|
}
|
|
}
|
|
|
|
public class Field
|
|
{
|
|
public string Name;
|
|
}
|
|
}
|
|
|