Skip to content

Commit 81c5d80

Browse files
authored
IntelliSense fixes (#3632)
1 parent a663b91 commit 81c5d80

File tree

12 files changed

+33
-44
lines changed

12 files changed

+33
-44
lines changed

xml/System.Buffers/MemoryPool`1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
</Parameters>
112112
<Docs>
113113
<param name="disposing">
114-
<see langword="true" /> to release both managed and unmanaged resources; <see paramname="false" /> to release only unmanaged resources. </param>
114+
<see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources. </param>
115115
<summary>Frees the unmanaged resources used by the memory pool and optionally releases the managed resources.</summary>
116116
<remarks>To be added.</remarks>
117117
</Docs>

xml/System.ComponentModel.DataAnnotations/ValidationAttribute.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
3333
]]></format>
3434
</remarks>
35-
<exception cref="T:System.ComponentModel.DataAnnotations.ValidationException">The <see cref="P:System.ComponentModel.DataAnnotations.ValidationAttribute.ErrorMessageResourceType" /> and <see cref="P:System.ComponentModel.DataAnnotations.ValidationAttribute.ErrorMessageResourceName" /> properties for localized error message are set at the same time that the non-localized <see cref="P:System.ComponentModel.DataAnnotations.ValidationAttribute.ErrorMessage" /> property error message is set.</exception>
36-
<related type="Article" href="https://msdn.microsoft.com/library/ef99e518-f112-4797-bf9c-79f4ceb466ea">How to: Customize Data Field Validation in the Data Model Using Custom Attributes</related>
35+
<related type="Article" href="https://docs.microsoft.com/previous-versions/aspnet/cc668224(v=vs.100)">How to: Customize Data Field Validation in the Data Model Using Custom Attributes</related>
3736
</Docs>
3837
<Members>
3938
<MemberGroup MemberName=".ctor">

xml/System.Data.Common/DbCommand.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1497,7 +1497,7 @@
14971497
<Docs>
14981498
<param name="cancellationToken">An optional token to cancel the asynchronous operation. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
14991499
<summary>Asynchronously creates a prepared (or compiled) version of the command on the data source.</summary>
1500-
<returns>A <see cref="P:System.Threading.Tasks.Task" /> representing the asynchronous operation.</returns>
1500+
<returns>A <see cref="T:System.Threading.Tasks.Task" /> representing the asynchronous operation.</returns>
15011501
<remarks>
15021502
<format type="text/markdown"><![CDATA[
15031503

xml/System.Data.Common/DbDataReader.xml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,8 +1102,7 @@ private static void GetDataTypes(String connectionString)
11021102

11031103
There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream.</exception>
11041104
<exception cref="T:System.IndexOutOfRangeException">The column index is out of range.</exception>
1105-
<exception cref="T:System.InvalidCastException">
1106-
The value returned by the database doesn't match or cannot be cast to <typeparamref name="T" />.</exception>
1105+
<exception cref="T:System.InvalidCastException">The value returned by the database doesn't match or cannot be cast to <typeparamref name="T" />.</exception>
11071106
</Docs>
11081107
</Member>
11091108
<MemberGroup MemberName="GetFieldValueAsync&lt;T&gt;">
@@ -1187,8 +1186,7 @@ private static void GetDataTypes(String connectionString)
11871186

11881187
There was an asynchronous operation in progress. This applies to all Get_*_ methods when running in sequential mode, as they could be called while reading a stream.</exception>
11891188
<exception cref="T:System.IndexOutOfRangeException">The column index is out of range.</exception>
1190-
<exception cref="T:System.InvalidCastException">
1191-
The value returned by the database doesn't match or cannot be cast to <typeparamref name="T" />.</exception>
1189+
<exception cref="T:System.InvalidCastException">The value returned by the database doesn't match or cannot be cast to <typeparamref name="T" />.</exception>
11921190
</Docs>
11931191
</Member>
11941192
<Member MemberName="GetFieldValueAsync&lt;T&gt;">
@@ -1265,8 +1263,7 @@ private static void GetDataTypes(String connectionString)
12651263

12661264
There was an asynchronous operation in progress. This applies to all Get_*_ methods when running in sequential mode, as they could be called while reading a stream.</exception>
12671265
<exception cref="T:System.IndexOutOfRangeException">The column index is out of range.</exception>
1268-
<exception cref="T:System.InvalidCastException">
1269-
The value returned by the database doesn't match or cannot be cast to <typeparamref name="T" />.</exception>
1266+
<exception cref="T:System.InvalidCastException">The value returned by the database doesn't match or cannot be cast to <typeparamref name="T" />.</exception>
12701267
</Docs>
12711268
</Member>
12721269
<Member MemberName="GetFloat">
@@ -2233,8 +2230,7 @@ private static void GetCredits(String connectionString)
22332230
<Docs>
22342231
<param name="ordinal">The zero-based column to be retrieved.</param>
22352232
<summary>Asynchronously gets a value that indicates whether the column contains non-existent or missing values.</summary>
2236-
<returns>
2237-
A <see cref="T:System.Threading.Tasks.Task`1" /> whose <see cref="P:System.Threading.Tasks.Task`1.Result" /> property is <see langword="true" /> if the specified column value is equivalent to <see langword="DBNull" /> or <see langword="false" /> if it is not.</returns>
2233+
<returns>A <see cref="T:System.Threading.Tasks.Task`1" /> whose <see cref="P:System.Threading.Tasks.Task`1.Result" /> property is <see langword="true" /> if the specified column value is equivalent to <see langword="DBNull" /> or <see langword="false" /> if it is not.</returns>
22382234
<remarks>
22392235
<format type="text/markdown"><![CDATA[
22402236
## Remarks
@@ -2305,8 +2301,7 @@ private static void GetCredits(String connectionString)
23052301
<param name="ordinal">The zero-based column to be retrieved.</param>
23062302
<param name="cancellationToken">A token to cancel the asynchronous operation.</param>
23072303
<summary>Asynchronously gets a value that indicates whether the column contains non-existent or missing values.</summary>
2308-
<returns>
2309-
A <see cref="T:System.Threading.Tasks.Task`1" /> whose <see cref="P:System.Threading.Tasks.Task`1.Result" /> property is <see langword="true" /> if the specified column value is equivalent to <see langword="DBNull" /> or <see langword="false" /> if it is not.</returns>
2304+
<returns>A <see cref="T:System.Threading.Tasks.Task`1" /> whose <see cref="P:System.Threading.Tasks.Task`1.Result" /> property is <see langword="true" /> if the specified column value is equivalent to <see langword="DBNull" /> or <see langword="false" /> if it is not.</returns>
23102305
<remarks>
23112306
<format type="text/markdown"><![CDATA[
23122307
## Remarks

xml/System.Data.Common/DbTransaction.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
<Docs>
141141
<param name="cancellationToken">An optional token to cancel the asynchronous operation. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
142142
<summary>Asynchronously commits the database transaction.</summary>
143-
<returns>A <see cref="P:System.Threading.Tasks.Task" /> representing the asynchronous operation.</returns>
143+
<returns>A <see cref="T:System.Threading.Tasks.Task" /> representing the asynchronous operation.</returns>
144144
<remarks>
145145
<format type="text/markdown"><![CDATA[
146146

xml/System.Data/DataReaderExtensions.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,7 @@
465465

466466
There was an asynchronous operation in progress. This applies to all Get* methods when running in sequential mode, as they could be called while reading a stream.</exception>
467467
<exception cref="T:System.IndexOutOfRangeException">The name specified is not a valid column name.</exception>
468-
<exception cref="T:System.InvalidCastException">
469-
The value returned by the database doesn't match or cannot be cast to <typeparamref name="T" />.</exception>
468+
<exception cref="T:System.InvalidCastException">The value returned by the database doesn't match or cannot be cast to <typeparamref name="T" />.</exception>
470469
</Docs>
471470
</Member>
472471
<Member MemberName="GetFieldValueAsync&lt;T&gt;">
@@ -1032,8 +1031,7 @@
10321031
<param name="name">The name of the column.</param>
10331032
<param name="cancellationToken">An optional token to cancel the asynchronous operation.</param>
10341033
<summary>Asynchronously gets a value that indicates whether the column contains non-existent or missing values.</summary>
1035-
<returns>
1036-
A <see cref="T:System.Threading.Tasks.Task`1" /> whose <see cref="P:System.Threading.Tasks.Task`1.Result" /> property is <see langword="true" /> if the specified column value is equivalent to <see langword="DBNull" /> or <see langword="false" /> if it is not.</returns>
1034+
<returns>A <see cref="T:System.Threading.Tasks.Task`1" /> whose <see cref="P:System.Threading.Tasks.Task`1.Result" /> property is <see langword="true" /> if the specified column value is equivalent to <see langword="DBNull" /> or <see langword="false" /> if it is not.</returns>
10371035
<remarks>
10381036
<format type="text/markdown"><![CDATA[
10391037
## Remarks

xml/System.Data/IDbDataParameter.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
</ReturnValue>
100100
<Docs>
101101
<summary>Indicates the scale of numeric parameters.</summary>
102-
<value>The number of decimal places to which <see cref="T:System.Data.OleDb.OleDbParameter.Value" /> is resolved. The default is 0.</value>
102+
<value>The number of decimal places to which <see cref="P:System.Data.OleDb.OleDbParameter.Value" /> is resolved. The default is 0.</value>
103103
<remarks>To be added.</remarks>
104104
</Docs>
105105
</Member>

xml/System.IO.Enumeration/FileSystemName.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<param name="name">The name to check against the expression.</param>
8585
<param name="ignoreCase">
8686
<see langword="true" /> to ignore case (default), <see langword="false" /> if the match should be case-sensitive.</param>
87-
<summary> Verifies if the given Win32 expression matches the given name. Supports the following wildcards: '*', '?', '&lt;', '&gt;', '"'. The backslash character '\' escapes.</summary>
87+
<summary>Verifies if the given Win32 expression matches the given name. Supports the following wildcards: '*', '?', '&lt;', '&gt;', '"'. The backslash character '\' escapes.</summary>
8888
<returns>
8989
<see langword="true" /> if the given expression matches the given name; otherwise, <see langword="false" />.</returns>
9090
<remarks>

xml/System.IO.Pipes/PipeStream.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2134,8 +2134,7 @@ If the operation is canceled before it completes, the returned task contains the
21342134
</remarks>
21352135
<exception cref="T:System.ArgumentNullException">
21362136
<paramref name="buffer" /> is <see langword="null" />.</exception>
2137-
<exception cref="T:System.ArgumentOutOfRangeException">
2138-
The <paramref name="offset" /> is negative.
2137+
<exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="offset" /> is negative.
21392138

21402139
-or-
21412140

xml/System.IO/Directory.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3105,9 +3105,9 @@ Directory::CreateDirectory("Public\\Html");
31053105
<exception cref="T:System.ArgumentException">
31063106
<paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
31073107

3108-
-or-
3108+
-or-
31093109

3110-
<paramref name="searchPattern" /> does not contain a valid pattern.</exception>
3110+
<paramref name="searchPattern" /> does not contain a valid pattern.</exception>
31113111
<exception cref="T:System.ArgumentNullException">
31123112
<paramref name="path" /> or <paramref name="searchPattern" /> is <see langword="null" />.</exception>
31133113
<exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>

0 commit comments

Comments
 (0)