diff --git a/Source/SuperLinq/Memoize.cs b/Source/SuperLinq/Memoize.cs index 368f9995..7c2fd153 100644 --- a/Source/SuperLinq/Memoize.cs +++ b/Source/SuperLinq/Memoize.cs @@ -163,7 +163,7 @@ private IEnumerator GetEnumeratorImpl() if (_enumerator is null) break; - var moved = false; + bool moved; try { moved = _enumerator.MoveNext(); diff --git a/Source/SuperLinq/Share.cs b/Source/SuperLinq/Share.cs index 7a7eaf46..58ece067 100644 --- a/Source/SuperLinq/Share.cs +++ b/Source/SuperLinq/Share.cs @@ -122,7 +122,7 @@ private IEnumerator GetEnumeratorImpl() if (_enumerator is null) break; - var moved = false; + bool moved; try { moved = _enumerator.MoveNext();