internal override void AppendTo(PatternBuilder builder) { if (_count2 == -1) { builder.AppendCountInternal(_count1); } else { builder.AppendCountInternal(_count1, _count2); } }
protected override void AppendQuantifierTo(PatternBuilder builder) { if (builder == null) { throw new ArgumentNullException(nameof(builder)); } if (_count2 == -1) { builder.AppendCountInternal(_count1); } else { builder.AppendCountInternal(_count1, _count2); } }