Skip to content

Commit 9e64e7f

Browse files
committed
System.Collections.Generic
1 parent cf971ca commit 9e64e7f

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,9 +1310,10 @@ The following example demonstrates how to merge two disparate sets. This example
13101310
<Parameters />
13111311
<Docs>
13121312
<typeparam name="TAlternate">The alternate type of instance for performing lookups.</typeparam>
1313-
<summary>Gets an instance of a type that can be used to perform operations on the current <see cref="T:System.Collections.Generic.HashSet`1"/> using a <typeparamref name="TAlternate"/> instead of a <typeparamref name="T"/>.</summary>
1313+
<summary>Gets an instance of a type that can be used to perform operations on the current <see cref="T:System.Collections.Generic.HashSet`1" /> using a <typeparamref name="TAlternate" /> instead of a <typeparamref name="T" />.</summary>
13141314
<returns>The created lookup instance.</returns>
1315-
<remarks>The set must use a comparer that implements <see cref="T:System.Collections.Generic.IAlternateEqualityComparer`2"/> with <typeparamref name="TAlternate"/> and <typeparamref name="T"/>. If it doesn't, an exception is thrown.</remarks>
1315+
<remarks>The set must use a comparer that implements <see cref="T:System.Collections.Generic.IAlternateEqualityComparer`2" /> with <typeparamref name="TAlternate" /> and <typeparamref name="T" />. If it doesn't, an exception is thrown.</remarks>
1316+
<exception cref="T:System.InvalidOperationException">The set's comparer is not compatible with <typeparamref name="TAlternate" />.</exception>
13161317
</Docs>
13171318
</Member>
13181319
<Member MemberName="GetEnumerator">
@@ -2625,9 +2626,10 @@ The following example demonstrates how to merge two disparate sets. This example
26252626
<Docs>
26262627
<typeparam name="TAlternate">The alternate type of instance for performing lookups.</typeparam>
26272628
<param name="lookup">The created lookup instance when the method returns true, or a default instance that should not be used if the method returns false.</param>
2628-
<summary>Gets an instance of a type that can be used to perform operations on the current <see cref="T:System.Collections.Generic.HashSet`1"/> using a <typeparamref name="TAlternate"/> instead of a <typeparamref name="T"/>.</summary>
2629-
<returns><see langword="true" /> if a lookup could be created; otherwise, <see langword="false" />.</returns>
2630-
<remarks>The set must use a comparer that implements <see cref="T:System.Collections.Generic.IAlternateEqualityComparer`2"/> with <typeparamref name="TAlternate"/> and <typeparamref name="T"/>. If it doesn't, the method returns <see langword="false" />.</remarks>
2629+
<summary>Gets an instance of a type that can be used to perform operations on the current <see cref="T:System.Collections.Generic.HashSet`1" /> using a <typeparamref name="TAlternate" /> instead of a <typeparamref name="T" />.</summary>
2630+
<returns>
2631+
<see langword="true" /> if a lookup could be created; otherwise, <see langword="false" />.</returns>
2632+
<remarks>The set must use a comparer that implements <see cref="T:System.Collections.Generic.IAlternateEqualityComparer`2" /> with <typeparamref name="TAlternate" /> and <typeparamref name="T" />. If it doesn't, the method returns <see langword="false" />.</remarks>
26312633
</Docs>
26322634
</Member>
26332635
<Member MemberName="TryGetValue">

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,7 @@
12321232
]]></format>
12331233
</remarks>
12341234
<altmember cref="P:System.Collections.ICollection.SyncRoot" />
1235+
<inheritdoc cref="T:System.Collections.Generic.ICollection`1" />
12351236
</Docs>
12361237
</Member>
12371238
<Member MemberName="System.Collections.ICollection.SyncRoot">

0 commit comments

Comments
 (0)