<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0172</ErrorName>
  <Examples>
    <string>// CS0172: Type of conditional expression cannot be determined as `ClassA' and `ClassB' convert implicitly to each other
// Line: 29

class ClassA {
        public static implicit operator ClassB (ClassA value) {
                return null;
        }
        
        public static implicit operator ClassA (ClassB value) {
                return null;
        }
}

class ClassB {
        public static implicit operator ClassA (ClassB value) {
                return null;
        }
        
        public static implicit operator ClassB (ClassA value) {
                return null;
        }
}

public class MainClass {
        public static void Main() {
                ClassA a = new ClassA();
                ClassB b = new ClassB();
            
                System.Console.WriteLine(true ? a : b);
   }
}
</string>
    <string>// CS0172: Type of conditional expression cannot be determined as `X' and `Y' convert implicitly to each other
// Line: 25

class X {
	public static implicit operator X (Y y)
	{
		return null;
	}
}

class Y {
	public static implicit operator Y (X x)
	{
		return null;
	}
}

class Z
{
	static void Main ()
	{
		X x = new X ();
		Y y = new Y ();

		object d = (x == x) ? x : y;
	}
	
}
</string>
  </Examples>
</ErrorDocumentation>