summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0659-2.cs
blob: fe84a7cdff8eb8b800926e8ae88bce06873907ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0659: `Test.Test' overrides Object.Equals(object) but does not override Object.GetHashCode()
// Line: 7
// Compiler options: -warnaserror -warn:3

namespace Test{  
    public partial class Test{  
	public override bool Equals(object obj){  
	    return true;  
	}  
	  
	static void Main () {}
    }  
}