private bool DeclarationChanged(Declaration current) { return((_lastSelectedDeclaration != null || current != null) && (_lastSelectedDeclaration == null || current == null || !_lastSelectedDeclaration.Equals(current))); }