private void ThrowIfImmutable() { if (IsImmutable) throw new Exception("Tokens can not be added to an immutable tokenizer"); }