Wack API failiure

We are getting this when our app goes to WACK:

I thought I knew what this meant but I have tried to make a new project with the following code and type equality variants to try and recreate the error but ALL of these are passing without errors:

		A a = new A();
		A b = new A();

		System.Type c = typeof(A);
		System.Type d = a.GetType();


		if(a.Equals(b))
			Debug.Log("sdfsdf");
		if( typeof(A) == a.GetType())
			Debug.Log("sdfsdf");
		if(a==b)
			Debug.Log("sdfsdf");
		if( a.GetType() != b.GetType())
			Debug.Log("sdfsdf");
		if(System.Type.Equals(c,d)){
			Debug.Log("sdfsdf");
		}
		if(System.Type.Equals(a,b)){
			Debug.Log("sdfsdf");
		}
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
public class A
{
	public string name{get;set;}
	public A ()
	{
		this.name = "unknown"; 
	}
	


}

What other things could be causing this problem? Problem is the main project is so big it is impossible without having some clue :face_with_spiral_eyes:

Found it! (a==b) should have been (c==d) then it creates the error.

For anyone else with this issue:

//These are Not OK!
if ( type == type2 ) 
if ( type != type2 ) 

//These are OK:
type.Equals(type2)
System,Type.Equals(type1, type2)