public override bool Equals(object obj) { ContextTransition other = obj as ContextTransition; if (other == null) { return(false); } if (object.ReferenceEquals(other, this)) { return(true); } return(base.Equals(other) && ContextIdentifiers.SequenceEqual(other.ContextIdentifiers)); }