public void GetHashCode_should_should_ignored_marked_properties()
        {
            var instance = new IgnoredPropertiesClass();

            instance.X = 1;
            instance.Y = 2;

            var firstResult = instance.GetHashCode();

            instance.Y = 3;
            var secondResult = instance.GetHashCode();

            Assert.Equal(firstResult, secondResult);
        }
        public void Equals_should_should_ignored_marked_properties()
        {
            var first = new IgnoredPropertiesClass();

            first.X = 1;
            first.Y = 2;

            var second = new IgnoredPropertiesClass();

            second.X = 1;
            second.Y = 3;

            var result = first.Equals(second);

            Assert.True(result);
        }