Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-712.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dba30e2ac1f5cacc297d563aeec8bdf433483596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;

interface IFoo
{
	bool Equals (object o);
}

class Hello : IFoo
{
	public static void Main ()
	{
		IFoo f = new Hello ();
		int i = f.GetHashCode ();
		bool b = f.Equals (f);
	}
}