Skip to content

Commit 17b55a4

Browse files
Merge pull request dotnet#8599 from carlreinke/ienumerator-reset
Add NotSupportedException on IEnumerator.Reset
2 parents 80d5528 + c91686c commit 17b55a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xml/System.Collections/IEnumerator.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@
285285
<altmember cref="M:System.Collections.IEnumerator.MoveNext" />
286286
<altmember cref="P:System.Collections.IEnumerator.Current" />
287287
<exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was created. </exception>
288+
<exception cref="T:System.NotSupportedException">The enumerator does not support being reset.</exception>
288289
</Docs>
289290
</Member>
290291
</Members>

0 commit comments

Comments
 (0)