Skip to content

Commit 0b86d52

Browse files
committed
Clarify variable name
1 parent ec113b0 commit 0b86d52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DictionaryList/DictionaryList.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,23 +183,23 @@ internal struct DictionaryListEnumerator : IEnumerator<KeyValuePair<int, TValue>
183183
private readonly DictionaryList<TValue> _dictList;
184184
private int _index;
185185
private KeyValuePair<int, TValue> _current;
186-
private readonly int _logicalCount;
186+
private readonly int _size;
187187
private readonly int _version;
188188

189189
internal DictionaryListEnumerator(DictionaryList<TValue> dictList)
190190
{
191191
_index = 0;
192192
_dictList = dictList;
193193
_current = default;
194-
_logicalCount = _dictList._list.Count;
194+
_size = _dictList._list.Count;
195195
_version = dictList._version;
196196
}
197197

198198
public bool MoveNext()
199199
{
200200
var iterIndex = _index;
201201
var theDictList = _dictList;
202-
while (_version == theDictList._version && (uint)iterIndex < (uint)_logicalCount)
202+
while (_version == theDictList._version && (uint)iterIndex < (uint)_size)
203203
{
204204
if (!theDictList.ContainsIndex(iterIndex))
205205
{

0 commit comments

Comments
 (0)