private static void PriorityInsert(ref DLink pHead, DLink pNode, float priority)
 {
     Debug.Assert(pNode != null);
     DLink.PriorityInsert(ref pHead, pNode, priority);
     // worst case, pHead was null initially, now we added a node so... this is true
     Debug.Assert(pHead != null);
 }