We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 512e5f8 + 8ac2f6c commit 23245e6Copy full SHA for 23245e6
src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/TextDifferencing/TextDiffer.IntArray.cs
@@ -118,7 +118,7 @@ public ref int this[int index]
118
// Does this index fall within page? If not, acquire the appropriate page.
119
if (index < page.Start || index >= page.Start + page.Length)
120
{
121
- page = _pages[index % PageSize];
+ page = _pages[index / PageSize];
122
_page = page;
123
}
124
0 commit comments