public ModifiedComplexTrivia(OptionSet optionSet, ComplexTrivia original, int lineBreaks, int space) : base(optionSet, original.Token1.Language) { Contract.ThrowIfNull(original); _original = original; // linebreak and space can become negative during formatting. but it should be normalized to >= 0 // at the end. this.LineBreaks = lineBreaks; this.Spaces = space; }
public ModifiedComplexTrivia(OptionSet optionSet, ComplexTrivia original, int lineBreaks, int space) : base(optionSet, original.Token1.Language) { Contract.ThrowIfNull(original); _original = original; // linebreak and space can become negative during formatting. but it should be normalized to >= 0 // at the end. this.LineBreaks = lineBreaks; this.Spaces = space; }