diff --git a/src/libraries/System.Collections/src/System/Collections/Generic/LinkedList.cs b/src/libraries/System.Collections/src/System/Collections/Generic/LinkedList.cs index cd2718696213ac..00431d4eeb47b0 100644 --- a/src/libraries/System.Collections/src/System/Collections/Generic/LinkedList.cs +++ b/src/libraries/System.Collections/src/System/Collections/Generic/LinkedList.cs @@ -177,7 +177,7 @@ public void Clear() while (current != null) { LinkedListNode temp = current; - current = current.Next; // use Next the instead of "next", otherwise it will loop forever + current = current.Next; temp.Invalidate(); }