[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0165-10.cs
blob6b26b173ccf49310f4d0365aa447de16016d91bd
1 // CS0165: Use of unassigned local variable `fb'
2 // Line: 15
3 using System.Collections;
5 public class EntryPoint {
6 public static void Main() {
7 ArrayList fields = new ArrayList();
9 Field fb;
10 for (int i = 0; i < fields.Count; i++) {
11 if (((Field) fields[i]).Name == "abc") {
12 fb = (Field) fields[i];
13 break;
17 if (fb.Name != "b") {
21 public class Field
23 public string Name;