internal ProfiledCommandEnumerable(int count, ProfiledCommand head)
        {
            _count = count;
            _head  = head;

            Debug.Assert(_count == Enumerable.Count(this));
        }
 /// <summary>
 /// Disposes the enumeration.
 /// subsequent attempts to enumerate results in undefined behavior.
 /// </summary>
 public void Dispose() => CurrentBacker = Head = null;
 internal Enumerator(ProfiledCommand head)
 {
     Head          = head;
     CurrentBacker = null;
 }