public TextChunk(string text) { if (text == null) { throw new ArgumentException("text cannot be null"); } this.text = text; }