Skip to content

Commit f376d0d

Browse files
authored
IntelliSense review fixes (#3484)
1 parent dd6f7fe commit f376d0d

File tree

22 files changed

+147
-209
lines changed

22 files changed

+147
-209
lines changed

xml/System.Linq/Enumerable.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5527,8 +5527,7 @@ Only unique elements are returned.
55275527
</remarks>
55285528
<exception cref="T:System.ArgumentNullException">
55295529
<paramref name="source" /> is <see langword="null" />.</exception>
5530-
<exception cref="T:System.ArgumentException">
5531-
No object in <paramref name="source" /> implements the <see cref="T:System.IComparable" /> or <see cref="T:System.IComparable`1" /> interface.</exception>
5530+
<exception cref="T:System.ArgumentException">No object in <paramref name="source" /> implements the <see cref="T:System.IComparable" /> or <see cref="T:System.IComparable`1" /> interface.</exception>
55325531
<related type="Article" href="~/docs/visual-basic/language-reference/queries/aggregate-clause.md">Aggregate Clause (Visual Basic)</related>
55335532
</Docs>
55345533
</Member>
@@ -6998,8 +6997,7 @@ Only unique elements are returned.
69986997
</remarks>
69996998
<exception cref="T:System.ArgumentNullException">
70006999
<paramref name="source" /> is <see langword="null" />.</exception>
7001-
<exception cref="T:System.ArgumentException">
7002-
No object in <paramref name="source" /> implements the <see cref="T:System.IComparable" /> or <see cref="T:System.IComparable`1" /> interface.</exception>
7000+
<exception cref="T:System.ArgumentException">No object in <paramref name="source" /> implements the <see cref="T:System.IComparable" /> or <see cref="T:System.IComparable`1" /> interface.</exception>
70037001
<related type="Article" href="~/docs/visual-basic/language-reference/queries/aggregate-clause.md">Aggregate Clause (Visual Basic)</related>
70047002
</Docs>
70057003
</Member>
@@ -9322,8 +9320,7 @@ Only unique elements are returned.
93229320
</remarks>
93239321
<exception cref="T:System.ArgumentNullException">
93249322
<paramref name="source" /> or <paramref name="predicate" /> is <see langword="null" />.</exception>
9325-
<exception cref="T:System.InvalidOperationException">
9326-
More than one element satisfies the condition in <paramref name="predicate" />. </exception>
9323+
<exception cref="T:System.InvalidOperationException">More than one element satisfies the condition in <paramref name="predicate" />. </exception>
93279324
</Docs>
93289325
</Member>
93299326
<Member MemberName="Skip&lt;TSource&gt;">

xml/System.Messaging/MessageQueue.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3788,8 +3788,7 @@ myMessageQueue.Send("Text 2."); //Resources are re-acquired.
37883788

37893789
]]></format>
37903790
</remarks>
3791-
<exception cref="T:System.ArgumentException">
3792-
The <see cref="P:System.Messaging.MessageQueue.MachineName" /> is <see langword="null" />.
3791+
<exception cref="T:System.ArgumentException">The <see cref="P:System.Messaging.MessageQueue.MachineName" /> is <see langword="null" />.
37933792
-or-
37943793

37953794
The name of the computer is not valid, possibly because the syntax is incorrect.</exception>

xml/System.Net.Http/HttpClient.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,7 @@ The environment variables used for `DefaultProxy` initialization on Windows and
413413
414414
]]></format>
415415
</remarks>
416-
<exception cref="T:System.ArgumentNullException">
417-
The value passed cannot be <see langword="null" />.
418-
</exception>
416+
<exception cref="T:System.ArgumentNullException">The value passed cannot be <see langword="null" />.</exception>
419417
</Docs>
420418
</Member>
421419
<Member MemberName="DefaultRequestHeaders">

xml/System.Net.Http/HttpResponseMessage.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,7 @@
272272
273273
]]></format>
274274
</remarks>
275-
<exception cref="T:System.Net.Http.HttpRequestException">
276-
The HTTP response is unsuccessful. </exception>
275+
<exception cref="T:System.Net.Http.HttpRequestException">The HTTP response is unsuccessful.</exception>
277276
</Docs>
278277
</Member>
279278
<Member MemberName="Headers">

xml/System.Net.NetworkInformation/IPAddressCollection.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,11 @@
241241
<paramref name="array" /> is <see langword="null" />.</exception>
242242
<exception cref="T:System.ArgumentOutOfRangeException">
243243
<paramref name="offset" /> is less than zero.</exception>
244-
<exception cref="T:System.ArgumentException">- <paramref name="array" /> is multidimensional.
245-
246-
-or-
247-
248-
The number of elements in this <see cref="T:System.Net.NetworkInformation.IPAddressCollection" /> is greater than the available space from <paramref name="offset" /> to the end of the destination <paramref name="array" />.</exception>
244+
<exception cref="T:System.ArgumentException"><paramref name="array" /> is multidimensional.
245+
246+
-or-
247+
248+
The number of elements in this <see cref="T:System.Net.NetworkInformation.IPAddressCollection" /> is greater than the available space from <paramref name="offset" /> to the end of the destination <paramref name="array" />.</exception>
249249
<exception cref="T:System.InvalidCastException">The elements in this <see cref="T:System.Net.NetworkInformation.IPAddressCollection" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
250250
</Docs>
251251
</Member>

xml/System.Net.PeerToPeer.Collaboration/PeerCollaborationPermission.xml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,15 @@
160160
161161
]]></format>
162162
</remarks>
163-
<exception cref="T:System.ArgumentException">- The parameter is not a valid permission element.
164-
165-
- The parameter does not contain a valid type or class.
166-
167-
- The parameter's version number is not supported.</exception>
163+
<exception cref="T:System.ArgumentException">The parameter is not a valid permission element.
164+
165+
-or-
166+
167+
The parameter does not contain a valid type or class.
168+
169+
-or-
170+
171+
The parameter's version number is not supported.</exception>
168172
<exception cref="T:System.ArgumentNullException">The parameter is a <see langword="null" /> reference (<see langword="Nothing" /> in Visual Basic).</exception>
169173
<altmember cref="M:System.Net.PeerToPeer.Collaboration.PeerCollaborationPermission.ToXml" />
170174
<altmember cref="T:System.Net.PeerToPeer.Collaboration.PeerCollaborationPermissionAttribute" />

xml/System.Net.PeerToPeer/PnrpPermission.xml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,11 @@
125125
126126
]]></format>
127127
</remarks>
128-
<exception cref="T:System.ArgumentException">- The parameter is not a valid <see cref="T:System.Net.PeerToPeer.PnrpPermission" /> element.
129-
130-
- The parameter's version number is not supported.</exception>
128+
<exception cref="T:System.ArgumentException">The parameter is not a valid <see cref="T:System.Net.PeerToPeer.PnrpPermission" /> element.
129+
130+
-or-
131+
132+
The parameter's version number is not supported.</exception>
131133
<exception cref="T:System.ArgumentNullException">The parameter is a <see langword="null" /> reference (<see langword="Nothing" /> in Visual Basic).</exception>
132134
<altmember cref="M:System.Net.PeerToPeer.PnrpPermission.FromXml(System.Security.SecurityElement)" />
133135
<altmember cref="M:System.Net.PeerToPeer.PnrpPermission.ToXml" />
@@ -173,9 +175,11 @@
173175
174176
]]></format>
175177
</remarks>
176-
<exception cref="T:System.ArgumentException">- The parameter is not a valid <see cref="T:System.Net.PeerToPeer.PnrpPermission" /> element.
177-
178-
- The parameter's version number is not supported.</exception>
178+
<exception cref="T:System.ArgumentException">The parameter is not a valid <see cref="T:System.Net.PeerToPeer.PnrpPermission" /> element.
179+
180+
-or-
181+
182+
The parameter's version number is not supported.</exception>
179183
<exception cref="T:System.ArgumentNullException">The parameter is a <see langword="null" /> reference (<see langword="Nothing" /> in Visual Basic).</exception>
180184
<altmember cref="M:System.Net.PeerToPeer.PnrpPermission.Copy" />
181185
<altmember cref="M:System.Net.PeerToPeer.PnrpPermission.ToXml" />

xml/System.Net.Security/NegotiateStream.xml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2827,8 +2827,7 @@ The following method is called when the operation completes.
28272827
<exception cref="T:System.ArgumentNullException">
28282828
<paramref name="asyncResult" /> is <see langword="null" />.</exception>
28292829
<exception cref="T:System.ArgumentException">The asyncResult was not created by a call to <see cref="M:System.Net.Security.NegotiateStream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" />.</exception>
2830-
<exception cref="T:System.InvalidOperationException">
2831-
There is no pending read operation to complete.
2830+
<exception cref="T:System.InvalidOperationException">There is no pending read operation to complete.
28322831

28332832
-or-
28342833

@@ -2898,8 +2897,7 @@ The following example demonstrates a method that is called to complete the async
28982897
<exception cref="T:System.ArgumentNullException">
28992898
<paramref name="asyncResult" /> is <see langword="null" />.</exception>
29002899
<exception cref="T:System.ArgumentException">The asyncResult was not created by a call to <see cref="M:System.Net.Security.NegotiateStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" />.</exception>
2901-
<exception cref="T:System.InvalidOperationException">
2902-
There is no pending write operation to complete.
2900+
<exception cref="T:System.InvalidOperationException">There is no pending write operation to complete.
29032901

29042902
-or-
29052903

@@ -3467,7 +3465,7 @@ Authentication has not occurred.</exception>
34673465
<param name="offset">A <see cref="T:System.Int32" /> containing the zero-based location in <paramref name="buffer" /> at which to begin storing the data read from this stream.</param>
34683466
<param name="count">A <see cref="T:System.Int32" /> containing the maximum number of bytes to read from the stream.</param>
34693467
<summary>Reads data from this stream and stores it in the specified array.</summary>
3470-
<returns>A <see cref="T:System.Int32" /> value that specifies the number of bytes read from the underlying stream. When there is no more data to be read, returns 0.</returns>
3468+
<returns>An <see cref="T:System.Int32" /> value that specifies the number of bytes read from the underlying stream. When there is no more data to be read, returns 0.</returns>
34713469
<remarks>
34723470
<format type="text/markdown"><![CDATA[
34733471

xml/System.Net.Security/SslStream.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2643,8 +2643,7 @@
26432643
<paramref name="asyncResult" /> is <see langword="null" />.</exception>
26442644
<exception cref="T:System.ArgumentException">
26452645
<paramref name="asyncResult" /> was not created by a call to <see cref="M:System.Net.Security.SslStream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" />.</exception>
2646-
<exception cref="T:System.InvalidOperationException">
2647-
There is no pending read operation to complete.
2646+
<exception cref="T:System.InvalidOperationException">There is no pending read operation to complete.
26482647

26492648
-or-
26502649

@@ -2712,8 +2711,7 @@ Authentication has not occurred.</exception>
27122711
<paramref name="asyncResult" /> is <see langword="null" />.</exception>
27132712
<exception cref="T:System.ArgumentException">
27142713
<paramref name="asyncResult" /> was not created by a call to <see cref="M:System.Net.Security.SslStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" />.</exception>
2715-
<exception cref="T:System.InvalidOperationException">
2716-
There is no pending write operation to complete.
2714+
<exception cref="T:System.InvalidOperationException">There is no pending write operation to complete.
27172715

27182716
-or-
27192717

xml/System.Net.Sockets/NetworkStream.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ myNetworkStream->Close();
13341334
]]></format>
13351335
</remarks>
13361336
<exception cref="T:System.InvalidOperationException">The <see cref="T:System.Net.Sockets.NetworkStream" /> does not support reading.</exception>
1337-
<exception cref="T:System.IOException">An error occurred when accessing the socket.
1337+
<exception cref="T:System.IO.IOException">An error occurred when accessing the socket.
13381338

13391339
-or-
13401340

@@ -1423,7 +1423,7 @@ There is a failure reading from the network.</exception>
14231423

14241424
<paramref name="size" /> is greater than the length of <paramref name="buffer" /> minus <paramref name="offset" />.</exception>
14251425
<exception cref="T:System.InvalidOperationException">The <see cref="T:System.Net.Sockets.NetworkStream" /> does not support reading.</exception>
1426-
<exception cref="T:System.IOException">An error occurred when accessing the socket.
1426+
<exception cref="T:System.IO.IOException">An error occurred when accessing the socket.
14271427

14281428
-or-
14291429

@@ -1543,7 +1543,7 @@ This method reads as much data as is available into `buffer` and returns the num
15431543
]]></format>
15441544
</remarks>
15451545
<exception cref="T:System.InvalidOperationException">The <see cref="T:System.Net.Sockets.NetworkStream" /> does not support reading.</exception>
1546-
<exception cref="T:System.IOException">An error occurred when accessing the socket.
1546+
<exception cref="T:System.IO.IOException">An error occurred when accessing the socket.
15471547

15481548
-or-
15491549

@@ -1602,7 +1602,7 @@ There is a failure reading from the network.</exception>
16021602
]]></format>
16031603
</remarks>
16041604
<exception cref="T:System.InvalidOperationException">The <see cref="T:System.Net.Sockets.NetworkStream" /> does not support reading.</exception>
1605-
<exception cref="T:System.IOException">An error occurred when accessing the socket.
1605+
<exception cref="T:System.IO.IOException">An error occurred when accessing the socket.
16061606

16071607
-or-
16081608

@@ -1650,7 +1650,7 @@ There is a failure reading from the network.</exception>
16501650
]]></format>
16511651
</remarks>
16521652
<exception cref="T:System.InvalidOperationException">The <see cref="T:System.Net.Sockets.NetworkStream" /> does not support reading.</exception>
1653-
<exception cref="T:System.IOException">An error occurred when accessing the socket.
1653+
<exception cref="T:System.IO.IOException">An error occurred when accessing the socket.
16541654

16551655
-or-
16561656

0 commit comments

Comments
 (0)