We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c45628 commit 694fc7fCopy full SHA for 694fc7f
1 file changed
StyleCop.Analyzers/StyleCop.Analyzers/SpacingRules/SA1027UseTabsCorrectly.cs
@@ -246,15 +246,7 @@ private static void ReduceTextSpans(ImmutableArray<TextSpan>.Builder sortedTextS
246
{
247
// Increment currentIndex this iteration
248
currentIndex++;
249
-
250
- // Only increment nextIndex this iteration if necessary to ensure nextIndex > currentIndex on the
251
- // next iteration. At this point we already incremented currentIndex, but haven't incremented
252
- // nextIndex.
253
- if (currentIndex > nextIndex)
254
- {
255
- nextIndex--;
256
- }
257
+ sortedTextSpans[currentIndex] = next;
258
continue;
259
}
260
0 commit comments