Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
Change from internal to private for unchecked methods.

Co-authored-by: Stephen Toub <[email protected]>
  • Loading branch information
L2 and stephentoub authored May 28, 2021
commit e7ea9a01637bf3e50a4f6f7fdf51570928aeb2de
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ internal ref readonly T ItemRef(int index)
return ref ItemRefUnchecked(index);
}

internal ref readonly T ItemRefUnchecked(int index)
private ref readonly T ItemRefUnchecked(int index)
{
Debug.Assert(_left != null && _right != null);
if (index < _left._count)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ internal ref readonly T ItemRef(int index)
return ref ItemRefUnchecked(index);
}

internal ref readonly T ItemRefUnchecked(int index)
private ref readonly T ItemRefUnchecked(int index)
{
Debug.Assert(_left != null && _right != null);

Expand Down