<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0253</ErrorName>
  <Examples>
    <string>// CS0253: Possible unintended reference comparison. Consider casting the right side expression to type `System.Action' to get value comparison
// Line: 13
// Compiler options: -warnaserror

using System;

class MainClass
{
	public static void Main ()
	{
		Action a = null;
		object b = null;
		var x = a == b;
	}
}</string>
    <string>// CS0253: Possible unintended reference comparison. Consider casting the right side expression to type `string' to get value comparison
// Line: 10
// Compiler options: -warn:2 -warnaserror

using System;

class X {
	static void Main() {
		object a = "11";
		Console.WriteLine("11" == a);
	}
}
</string>
    <string>// CS0253: Possible unintended reference comparison. Consider casting the right side expression to type `A' to get value comparison
// Line: 16
// Compiler options: -warnaserror

using System;

class A
{
	public override int GetHashCode ()
	{
		return base.GetHashCode ();
	}
	
	public override bool Equals (object obj)
	{
		return this == obj;
	}
	
	public static bool operator == (A left, A right)
	{
		return true;
	}
	
	public static bool operator != (A left, A right)
	{
		return false;
	}
}
</string>
  </Examples>
</ErrorDocumentation>