public void AddRuleSet(CssPropertyAssignmentCollection otherAssignments) { //assignment in this ruleset //if (dbugId == 170) //{ //} if (_assignments == null) { //share _assignments = otherAssignments; } else if (_assignments != otherAssignments) { //then copy each css property assignment //from other Assignment and add to this assignment if (_assignments.OriginalOwner != this) { _assignments = _assignments.Clone(this); } _assignments.MergeProperties(otherAssignments); } else { } }