Skip to content

Commit afe5dbc

Browse files
DSivtsovRon Petrusha
authored andcommitted
fix possible misunderstanding (Return value of Current property and Entry property at IDictionaryEnumerator Interface) (#2203)
* fix possible misunderstanding Return value of Current property and Entry property isn't fully similar. As variant it can be written as "the return value of the Entry property (is an unboxed DictionaryEntry)" or (is an unboxed value of Current property). * Feedback * Update IDictionaryEnumerator.xml
1 parent 91e3fae commit afe5dbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/System.Collections/IDictionaryEnumerator.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
]]></format>
6969
</remarks>
7070
<block subset="none" type="overrides">
71-
<para>The <see cref="P:System.Collections.IEnumerator.Current" /> property that is inherited from <see cref="T:System.Collections.IEnumerator" /> returns an <see cref="T:System.Object" /> that is a boxed <see cref="T:System.Collections.DictionaryEntry" />, similar to the return value of the <see cref="P:System.Collections.IDictionaryEnumerator.Entry" /> property.</para>
71+
<para>The <see cref="P:System.Collections.IEnumerator.Current" /> property that is inherited from <see cref="T:System.Collections.IEnumerator" /> returns an <see cref="T:System.Object" /> that is a boxed <see cref="T:System.Collections.DictionaryEntry" />. It is similar to the <see cref="P:System.Collections.IDictionaryEnumerator.Entry" /> property, except that `Entry` returns a <see cref="T:System.Collections.DictionaryEntry" /> rather than an <see cref="T:System.Object" />.</para>
7272
</block>
7373
<altmember cref="T:System.Collections.IDictionary" />
7474
<altmember cref="T:System.Collections.IEnumerator" />
@@ -128,7 +128,7 @@
128128
]]></format>
129129
</remarks>
130130
<block subset="none" type="overrides">
131-
<para>The <see cref="P:System.Collections.IEnumerator.Current" /> property that is inherited from <see cref="T:System.Collections.IEnumerator" /> returns an <see cref="T:System.Object" /> that is a boxed <see cref="T:System.Collections.DictionaryEntry" />, similar to the return value of the <see cref="P:System.Collections.IDictionaryEnumerator.Entry" /> property.</para>
131+
<para>The <see cref="P:System.Collections.IEnumerator.Current" /> property that is inherited from <see cref="T:System.Collections.IEnumerator" /> returns an <see cref="T:System.Object" /> that is a boxed <see cref="T:System.Collections.DictionaryEntry" />. It is similar to the <see cref="P:System.Collections.IDictionaryEnumerator.Entry" /> property, except that `Entry` returns a <see cref="T:System.Collections.DictionaryEntry" /> rather than an <see cref="System.Object" />.</para>
132132
</block>
133133
<altmember cref="M:System.Collections.IEnumerator.Reset" />
134134
<altmember cref="M:System.Collections.IEnumerator.MoveNext" />
@@ -255,4 +255,4 @@
255255
</Docs>
256256
</Member>
257257
</Members>
258-
</Type>
258+
</Type>

0 commit comments

Comments
 (0)