Пример #1
0
        public void ResharperCase()
        {
            ReSharperCreated a = new ReSharperCreated {
                a = 2, B = "Hello", C = SomeType.Instance
            };
            ReSharperCreated b = new ReSharperCreated {
                a = 2, B = "Hello", C = SomeType.Instance
            };

            Assert.Equal(a, b);
        }
Пример #2
0
 protected bool Equals(ReSharperCreated other)
 {
     return(a == other.a && B == other.B && Equals(C, other.C));
 }