cleol
[mcs.git] / errors / cs0659.cs
bloba12ee9ff17b38a2d6a3c79be2db67f1bf4582bff
1 // cs0659.cs: `E' overrides Object.Equals(object) but does not override Object.GetHashCode()
2 // Line: 13
3 // Compiler options: -warnaserror -warn:3
5 public class Base
7 public override int GetHashCode ()
9 return 2;
13 public class E: Base
15 public override bool Equals (object o)
17 return true;