Files
mono/mcs/errors/cs0659.cs
T
Marek Safar 0c31213775 error messages review
svn path=/trunk/mcs/; revision=46724
2005-06-29 14:55:08 +00:00

20 lines
341 B
C#

// cs0659.cs: `E' overrides Object.Equals(object) but does not override Object.GetHashCode()
// Line: 13
// Compiler options: -warnaserror -warn:3
public class Base
{
public override int GetHashCode ()
{
return 2;
}
}
public class E: Base
{
public override bool Equals (object o)
{
return true;
}
}