• J
    Use correct count in ReplaceSeparator · b1c743fa
    Jared Parsons 提交于
    The bounds checking code for the existing separator has no need to do an
    upper bound check on `index`.  The IndexOf method will return -1 or a
    valid index into nodesWithSeps.  Hence the comparison with `this.Count`
    here was both unnecessary and incorrect (should have been
    `nodesWithSeps.Count`).
    
    closes #2630
    b1c743fa
SeparatedSyntaxList.cs 17.8 KB