Skip to content

Commit 05ac208

Browse files
m-ringlerRon Petrusha
authored andcommitted
Fix mistake (?) in IEnumerable<T> documentation. (#3240)
* Fix mistake (?) in IEnumerable<T> documentation. AFAIS, a reference to the non-generic interface was intended by the original author. * Update xml/System.Collections.Generic/IEnumerable`1.xml Co-Authored-By: Ron Petrusha <[email protected]> * Update xml/System.Collections.Generic/IEnumerable`1.xml Co-Authored-By: Maira Wenzel <[email protected]> * Removed extraneous <para> element
1 parent ae289d0 commit 05ac208

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

xml/System.Collections.Generic/IEnumerable`1.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@
6363
]]></format>
6464
</remarks>
6565
<block subset="none" type="overrides">
66-
<para>
67-
<see cref="T:System.Collections.Generic.IEnumerable`1" /> is included for parity with non-generic collections; implementing <see cref="T:System.Collections.Generic.IEnumerable`1" /> allows a generic collection to be passed to a method that expects an <see cref="T:System.Collections.IEnumerable" /> object.</para>
66+
<para>To remain compatible with methods that iterate non-generic collections, <see cref="T:System.Collections.Generic.IEnumerable`1" /> implements <see cref="T:System.Collections.IEnumerable" />. This allows a generic collection to be passed to a method that expects an <see cref="T:System.Collections.IEnumerable" /> object.</para>
6867
</block>
6968
<altmember cref="T:System.Collections.Generic.IEnumerator`1" />
7069
<altmember cref="N:System.Collections" />

0 commit comments

Comments
 (0)