Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

17 lines
319 B
C#

// CS0216: The operator `Test.operator ==(Test, bool)' requires a matching operator `!=' to also be defined
// Line: 11
public abstract class Test
{
public static bool operator == (Test lhs, bool rhs)
{
return false;
}
public static bool operator != (Test lhs, IDoNotExist rhs)
{
return !(lhs == rhs);
}
}