This project is read-only.
1
Vote

Wrong implementation of extension method Object.IsNotNull

description

Now,the implementation of extension method Object.IsNotNull in Extensions.Is.cs is as follow:
 public static bool IsNotNull(this object  target)
 {
        return target == null;
 }
It is the implementaion of IsNull rather than IsNotNull.The correct implementation should be:
 public static bool IsNotNull(this object  target)
 {
        return target != null;
 }

comments