public virtual bool ShouldSerializeReferences() { return References != null && References.Count > 0; }