<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS0165</ErrorName>
  <Examples>
    <string>// cs0165-10.cs: Use of unassigned local variable `fb'
// Line: 15
using System.Collections;

public class EntryPoint {
  public static void Main() {
    ArrayList fields = new ArrayList();

    Field fb;
    for (int i = 0; i &lt; fields.Count; i++) {
      if (((Field) fields[i]).Name == "abc") {
        fb = (Field) fields[i];
	break;
      }
    }

    if (fb.Name != "b") {
    }
  }

  public class Field
  {
    public string Name;
  }
}

</string>
    <string>// cs0165-11.cs: Use of unassigned local variable `fb'
// Line: 12
using System.Collections;

public class EntryPoint {
  public static void Main() {
    ArrayList fields = new ArrayList();

    Field fb;
    while (fields.Count &gt; 0) {
      fb = (Field) fields[0];
    }

    if (fb.Name != "b") {
      System.Console.WriteLine ("shouldn't compile here.");
    }
  }

  public class Field
  {
    public string Name;
  }
}

</string>
    <string>// cs0165-12.cs: Use of unassigned local variable `foo'
// Line: 17

class X
{
        static void Main ()
        {
                int foo;

                int i = 0;
                if (i == 1)
                        goto e;

                goto f;

        b:
                i += foo;

        c:
                goto b;

        e:
                foo = 5;

        f:
                goto c;
        }
}
</string>
    <string>// cs0165-13.cs: Use of unassigned local variable `foo'
// Line: 9

struct Rectangle { int x; public int X { set { } } }
public class Foo {
  public static void Main (string[] args)
  {
    Rectangle foo;
    foo.X = 5;
  }
}
</string>
    <string>// CS0165: Use of unassigned local variable `y'
// Line: 12

class test
{
        static void Main(string[] args)
        {
                {
                        int x = 8;
                }
                string y;
                args[0] = y;    // use of unassigned variable y
        }
}
</string>
    <string>// cs0165.cs: Use of unassigned local variable `x'
// Line: 16

class T {
	void fun (ref int a)
	{
		if (a == 3)
		a = 2;
	}

	void x ()
	{
		int x;

		if (System.Console.Read () == 1)
			x = 1;
		fun (ref x);
	}
}
</string>
    <string>// cs0165.cs: Use of unassigned local variable `s'
// Line: 9

public class Test
{
        public static string Foo {
                get {
                        string s;
                        if (0 == 1 &amp;&amp; (s = "") == "a" || s == "")
                                return s;
                        return " ";
                }
        }
}</string>
    <string>// cs0165-4.cs: Use of unassigned local variable `a'
// Line: 9

class C {
	public static int test4 ()
	{
		int a;

		try {
			a = 3;
		} catch {
		}

		// CS0165
		return a;
	}
}
</string>
    <string>// cs0165-5.cs: Use of unassigned local variable `a'
// Line: 9

using System;

class C {
	public static int test5 ()
	{
		int a;

		try {
			Console.WriteLine ("TRY");
			a = 8;
		} catch {
			a = 9;
		} finally {
			// CS0165
			Console.WriteLine (a);
		}

		return a;
	}
}
</string>
    <string>// cs0165-6.cs: Use of unassigned local variable `service'
// Line: 17
using System;

public class Foo
{
	static void Main (string[] args)
	{
		int service;

		int pos = 0;
		while (pos &lt; args.Length) {
			service = 1;
			break;
		}

		Console.WriteLine (service);
	}
}
</string>
    <string>// cs0165-7.cs: Use of unassigned local variable `service'
// Line: 16
using System;

public class Foo
{
	static void Main (string[] args)
	{
		int service;

		for (int pos = 0; pos &lt; args.Length; pos++) {
			service = 1;
			break;
		}

		Console.WriteLine (service);
	}
}
</string>
    <string>// cs0165-8.cs: Use of unassigned local variable `service'
// Line: 17
using System;

public class Foo
{
	static void Main ()
	{
		int service;

		foreach (char b in "hola") {
			Console.WriteLine (b);
			service = 1;
			break;
		}

		Console.WriteLine (service);
	}
}
</string>
    <string>// cs0165.cs: Use of unassigned local variable `s'
// Line: 16

using System;

public class Test
{
        public int i;

        public void Hoge ()
        {
                if (i &gt; 0)
                        goto Fuga;
                string s = "defined later";
        Fuga:
                Console.WriteLine (s);
        }
}
</string>
    <string>// cs0165.cs: Use of unassigned local variable `errors'
// Line: 9

class T {
	static void Main ()
	{
		int errors;

		errors += 1;
	}
}
</string>
  </Examples>
</ErrorDocumentation>