<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0665</ErrorName>
  <Examples>
    <string>// cs0665-2.cs : Assignment in conditional expression is always constant; did you mean to use == instead of = ?
// Line: 10
// Compiler options: /warnaserror

class Test
{
	public bool Foo (bool x)
	{
		bool b;
		return (b = true) ? true : b;
	}
}

</string>
    <string>// cs0665.cs : Assignment in conditional expression is always constant; did you mean to use == instead of = ?
// Line: 10
// Compiler options: /warnaserror

class Test
{
	public void Foo (bool x)
	{
		bool b;
		if (b = true)
			System.Console.WriteLine (b);
	}
}

</string>
  </Examples>
</ErrorDocumentation>