mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-10 10:15:04 +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())
|
||||
{
|
||||
// ReSharper disable once AccessToDisposedClosure
|
||||
while (Profile(() => enumerator.MoveNext(), name))
|
||||
yield return enumerator.Current;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user