summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0216-2.cs
blob: e7d7ba0cb18543ff1d787101715bb1e82f8f5265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0216: The operator `X.operator true(X)' requires a matching operator `false' to also be defined
// Line: 5

class X {
	public static bool operator true (X i)
	{
		return true;
	}

	static void Main ()
	{
	}
}