private bool ShouldSerializeType() { // Margin 0 defaults to Number, all the rest // default to Symbol if (this._number == 0) return this.Type != MarginType.Number; return this.Type != MarginType.Symbol; }