Example #1
0
        public void AreEqual()
        {
            OneOf <int> a = 1;
            OneOf <int> b = a;

            Assert.IsTrue(a.Equals(b));
        }
Example #2
0
 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));
 }