[ci] Only build the additional profiles on one arch instead of everywhere
[mono-project.git] / mcs / errors / cs0253-2.cs
blob6a7579b89bdda232b35522b79b5605ca03fa05df
1 // CS0253: Possible unintended reference comparison. Consider casting the right side expression to type `A' to get value comparison
2 // Line: 16
3 // Compiler options: -warnaserror
5 using System;
7 class A
9 public override int GetHashCode ()
11 return base.GetHashCode ();
14 public override bool Equals (object obj)
16 return this == obj;
19 public static bool operator == (A left, A right)
21 return true;
24 public static bool operator != (A left, A right)
26 return false;