PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Collections Namespace / Read­Only­Singly­Linked­List(T).​Enumerator Structure / Enumerator Methods / Read­Only­Singly­Linked­List(T).​Enumerator.​Move­Next Method

ReadOnlySinglyLinkedList<T>.Enumerator.MoveNext Method

Advances the enumerator to the next element of the collection.

Namespace:  PostSharp.Collections
Assembly:  PostSharp (in PostSharp.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public bool MoveNext()

Return Value

Type: Boolean
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

Implements

IEnumerator.MoveNext()
Exceptions
ExceptionCondition
InvalidOperationExceptionThe collection was modified after the enumerator was created.
See Also