public void AreEqual() { OneOf <int> a = 1; OneOf <int> b = a; Assert.IsTrue(a.Equals(b)); }
public bool Equals(Error other) { return(type == other.type && string.Equals(message, other.message) && Equals(obj, other.obj) && string.Equals(objFullPath, other.objFullPath) && location.Equals(other.location)); }