mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 05:05:05 +00:00
docs: Resolving closure warning
This commit is contained in:
@@ -140,6 +140,7 @@ namespace ICD.Common.Utils.Timers
|
|||||||
{
|
{
|
||||||
using (IEnumerator<T> enumerator = enumerable.GetEnumerator())
|
using (IEnumerator<T> enumerator = enumerable.GetEnumerator())
|
||||||
{
|
{
|
||||||
|
// ReSharper disable once AccessToDisposedClosure
|
||||||
while (Profile(() => enumerator.MoveNext(), name))
|
while (Profile(() => enumerator.MoveNext(), name))
|
||||||
yield return enumerator.Current;
|
yield return enumerator.Current;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user