diff --git a/src/HotChocolate/Core/src/Execution/Processing/Result/ObjectResult.cs b/src/HotChocolate/Core/src/Execution/Processing/Result/ObjectResult.cs index e966ee28961..a6ce385cc94 100644 --- a/src/HotChocolate/Core/src/Execution/Processing/Result/ObjectResult.cs +++ b/src/HotChocolate/Core/src/Execution/Processing/Result/ObjectResult.cs @@ -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; } } } @@ -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; } } }