public void Properties_return_expected_values()
        {
            var pair = new AnnotationValues("old", "new");

            Assert.Equal("old", pair.OldValue);
            Assert.Equal("new", pair.NewValue);
        }
Esempio n. 2
0
 private bool Equals(AnnotationValues other)
 {
     if (object.Equals(this._oldValue, other._oldValue))
     {
         return(object.Equals(this._newValue, other._newValue));
     }
     return(false);
 }
 private bool Equals(AnnotationValues other)
 {
     return(Equals(_oldValue, other._oldValue) && Equals(_newValue, other._newValue));
 }
 private bool Equals(AnnotationValues other)
 {
     return Equals(_oldValue, other._oldValue) && Equals(_newValue, other._newValue);
 }