public virtual int length(){if (this.type == TYPE_MALFORMED_INPUT || this.type == TYPE_UNMAPPABLE_CHAR){return this._length;}throw new System.NotSupportedException("length meaningless for " + ToString());}