Skip to content

Commit

Permalink
Fixed CS9258 (#7713)
Browse files Browse the repository at this point in the history
  • Loading branch information
glen-84 authored Nov 13, 2024
1 parent 2678336 commit a18706c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@ internal void Reset()
{
for (var i = 0; i < _capacity; i++)
{
var field = _buffer[i];
var fieldResult = _buffer[i];

if (field.IsInitialized)
if (fieldResult.IsInitialized)
{
yield return field.Name;
yield return fieldResult.Name;
}
}
}
Expand All @@ -194,11 +194,11 @@ internal void Reset()
{
for (var i = 0; i < _capacity; i++)
{
var field = _buffer[i];
var fieldResult = _buffer[i];

if (field.IsInitialized)
if (fieldResult.IsInitialized)
{
yield return field.Value;
yield return fieldResult.Value;
}
}
}
Expand Down

0 comments on commit a18706c

Please sign in to comment.