protected override void AppendItemContentTo(PatternBuilder builder) { if (builder == null) { throw new ArgumentNullException(nameof(builder)); } builder.AppendCharRange(_firstChar, _lastChar); }