Ejemplo n.º 1
0
        private void privAddBefore(ref DLink pCur, DLink pNode)
        {
            // Will work for Active or Reserve List
            Debug.Assert(pCur != null);
            Debug.Assert(pNode != null);

            DLink.AddBefore(ref this.poActive, ref pCur, pNode);

            // worst case, pCur was null initially, now we added a node so... this is true
            Debug.Assert(pCur != null);
        }