protected override ChangeType CompareInstance(ICanCompare previous, bool suppressBreakingChanges) { ChangeType change = base.CompareInstance(previous, suppressBreakingChanges); StubDetail other = (StubDetail)previous; change |= VisibilityUtil.GetVisibilityChange(other._visibility, _visibility, suppressBreakingChanges); if (_content != other._content) { change |= ChangeType.ContentChanged; } return(change); }
protected virtual ChangeType CompareVisibility(ICanCompare previous, bool suppressBreakingChanges) { MemberDetail other = (MemberDetail)previous; return(VisibilityUtil.GetVisibilityChange(other._visibility, _visibility, suppressBreakingChanges)); }