Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions xml/System.Collections.Concurrent/ConcurrentBag`1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
## Examples
The following example shows how to add and remove items from a <xref:System.Collections.Concurrent.ConcurrentBag%601>:

[!code-csharp[System.Collections.Concurrent.ConcurrentBag#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.collections.concurrent.concurrentbag/cs/concbag.cs#1)]
[!code-vb[System.Collections.Concurrent.ConcurrentBag#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.concurrent.concurrentbag/vb/concbag.vb#1)]
[!code-csharp[System.Collections.Concurrent.ConcurrentBag#1](~/samples/snippets/csharp/api/system.collections.concurrent/concurrentbag/concbag.cs)]
[!code-vb[System.Collections.Concurrent.ConcurrentBag#1](~/samples/snippets/visualbasic/api/system.collections.concurrent/concurrentbag/concbag.vb)]

]]></format>
</remarks>
Expand Down
13 changes: 9 additions & 4 deletions xml/System/Type.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3989,12 +3989,17 @@ TopNamespace.Sub\+Namespace.ContainingClass+NestedClass, MyAssembly, Version=1.3
<exception cref="T:System.ArgumentException">
<paramref name="interfaceType" /> is not implemented by the current type.

-or-

The <paramref name="interfaceType" /> parameter does not refer to an interface.
-or-

-or-
The <paramref name="interfaceType" /> argument does not refer to an interface.

-or-

The <paramref name="interfaceType" /> argument is an open generic type; that is, the <see cref="P:System.Type.ContainsGenericParameters" /> property returns <see langword ="true" />.

-or-


<paramref name="interfaceType" /> is a generic interface, and the current type is an array type.</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="interfaceType" /> is <see langword="null" />.</exception>
Expand Down