2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0216-4.cs
blob8035db7afa6944eee16dd688edb96feadd6ab85e
1 // CS0216: The operator `Test.operator ==(Test, bool)' requires a matching operator `!=' to also be defined
2 // Line: 11
4 public abstract class Test
6 public static bool operator == (Test lhs, bool rhs)
8 return false;
11 public static bool operator != (Test lhs, IDoNotExist rhs)
13 return !(lhs == rhs);