Skip to content

Commit 41b31a3

Browse files
kksmedBillWagner
authored andcommitted
Update IReadOnlyDictionary`2.xml (#2517)
Fixed a typo - probably a copy-paste error.
1 parent d49449e commit 41b31a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System.Collections.Generic/IReadOnlyDictionary`2.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
## Remarks
5353
Each element is a key/value pair that is stored in a <xref:System.Collections.Generic.KeyValuePair%602> object.
5454
55-
Each pair must have a unique key. Implementations can vary in whether they allow you to specify a key that is `null`. The value can be `null` and does not have to be unique. The <xref:System.Collections.Generic.IDictionary%602> interface allows the contained keys and values to be enumerated, but it does not imply any particular sort order.
55+
Each pair must have a unique key. Implementations can vary in whether they allow you to specify a key that is `null`. The value can be `null` and does not have to be unique. The <xref:System.Collections.Generic.IReadOnlyDictionary%602> interface allows the contained keys and values to be enumerated, but it does not imply any particular sort order.
5656
5757
The `foreach` statement of the C# language (`For Each` in Visual Basic, `for each` in C++) requires the type of each element in the collection. Because each element of the <xref:System.Collections.Generic.IReadOnlyDictionary%602> interface is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is <xref:System.Collections.Generic.KeyValuePair%602>, as the following example illustrates.
5858
@@ -313,4 +313,4 @@
313313
</Docs>
314314
</Member>
315315
</Members>
316-
</Type>
316+
</Type>

0 commit comments

Comments
 (0)