public bool Equals(TestClass other) { return(((TestString == other.TestString) && (TestBytes == null) && (other.TestBytes == null)) || ((TestBytes != null) && (other.TestBytes != null) && TestBytes.SequenceEqual(other.TestBytes) && (TestInt == other.TestInt) && (TestDateTime == other.TestDateTime) && (TestClassInstance == null) && (other.TestClassInstance == null)) || ((TestClassInstance != null) && (other.TestClassInstance != null) && TestClassInstance.Equals(other.TestClassInstance) && (TestBool == other.TestBool))); }
public bool Equals(TestClass other) { return(TestString == other.TestString && TestBytes == null && other.TestBytes == null || TestBytes != null && other.TestBytes != null && TestBytes.SequenceEqual(other.TestBytes) && TestInt == other.TestInt && TestDateTime == other.TestDateTime && TestClassInstance == null && other.TestClassInstance == null || TestClassInstance != null && other.TestClassInstance != null && TestClassInstance.Equals(other.TestClassInstance) && TestBool == other.TestBool); }