summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0243-2.cs
blob: 23309372fd2dca4205ec42a932d373592e003667 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0243: Conditional not valid on `MyClass.GetHashCode()' because it is an override method
// Line: 6

public class MyClass
{
	[System.Diagnostics.Conditional ("WOOHOO")]
	public override int GetHashCode ()
	{
		return base.GetHashCode ();
	}
}