summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0019-37.cs
blob: b326a0dd6d666ea3b0bf12cb8f4634a0c7bb0080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0019: Operator `==' cannot be applied to operands of type `bool' and `int'
// Line: 10

class C
{
	static bool HasSessionId (string path)
	{
		if (path == null || path.Length < 5)
			return false;

		return path.StartsWith ("/(") == 0;
	}
}