Skip to content

Commit 4f30eff

Browse files
authored
Intellisense review fixes - Part 2 (#3483)
* Intellisense review fixes * add missing API
1 parent e2f9837 commit 4f30eff

File tree

21 files changed

+128
-145
lines changed

21 files changed

+128
-145
lines changed

_zip/missingapi.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
### YamlMime:XRefMap
22
hrefUpdated: true
33
references:
4+
- uid: System.Diagnostics.PresentationTraceSources.TraceLevel
5+
name: PresentationTraceSources.TraceLevel
6+
fullname: System.Diagnostics.PresentationTraceSources.TraceLevel
7+
href: https://docs.microsoft.com/previous-versions/bb778381(v=vs.110)
48
- uid: System.MonoNotSupportedAttribute
59
name: MonoNotSupportedAttribute
610
fullname: System.MonoNotSupportedAttribute

xml/System.Buffers/ArrayBufferWriter`1.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,8 @@ You must request a new buffer after calling `Advance` to continue writing more d
114114
]]></format>
115115
</remarks>
116116
<exception cref="T:System.ArgumentException">
117-
<paramref name="count" /> is negative.
118-
</exception>
119-
<exception cref="T:System.InvalidOperationException">
120-
The method call attempts to advance past the end of the underlying buffer.
121-
</exception>
117+
<paramref name="count" /> is negative.</exception>
118+
<exception cref="T:System.InvalidOperationException">The method call attempts to advance past the end of the underlying buffer.</exception>
122119
</Docs>
123120
</Member>
124121
<Member MemberName="Capacity">

xml/System.ComponentModel.DataAnnotations/DisplayAttribute.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -543,11 +543,8 @@ End Class
543543
544544
]]></format>
545545
</remarks>
546-
<exception cref="T:System.InvalidOperationException">
547-
Both the <see cref="P:System.ComponentModel.DataAnnotations.DisplayAttribute.ResourceType" /> property and <see cref="P:System.ComponentModel.DataAnnotations.DisplayAttribute.ShortName" /> properties were set,
548-
but a public static property with a name matching the <see cref="P:System.ComponentModel.DataAnnotations.DisplayAttribute.ShortName" /> value couldn't be found
549-
on the <see cref="P:System.ComponentModel.DataAnnotations.DisplayAttribute.ResourceType" />.
550-
</exception>
546+
<exception cref="T:System.InvalidOperationException">Both the <see cref="P:System.ComponentModel.DataAnnotations.DisplayAttribute.ResourceType" /> property and <see cref="P:System.ComponentModel.DataAnnotations.DisplayAttribute.ShortName" /> properties were set,
547+
but a public static property with a name matching the <see cref="P:System.ComponentModel.DataAnnotations.DisplayAttribute.ShortName" /> value couldn't be found on the <see cref="P:System.ComponentModel.DataAnnotations.DisplayAttribute.ResourceType" />.</exception>
551548
</Docs>
552549
</Member>
553550
<Member MemberName="GroupName">

xml/System.ComponentModel/VersionConverter.xml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
</Base>
1515
<Interfaces />
1616
<Docs>
17-
<summary>
18-
<para>Provides a type converter to convert <see cref="T:System.Version" /> objects to and from various other representations.</para>
19-
</summary>
17+
<summary>Provides a type converter to convert <see cref="T:System.Version" /> objects to and from various other representations.</summary>
2018
<remarks>To be added.</remarks>
2119
</Docs>
2220
<Members>
@@ -59,9 +57,7 @@
5957
<Docs>
6058
<param name="context">An object that provides contextual information.</param>
6159
<param name="sourceType">The type of the object to be converted.</param>
62-
<summary>
63-
<para>Gets a value indicating whether this converter can convert an object in the given source type to a <see cref="T:System.Version" />.</para>
64-
</summary>
60+
<summary>Gets a value indicating whether this converter can convert an object in the given source type to a <see cref="T:System.Version" />.</summary>
6561
<returns>
6662
<see langword="true" /> if this converter can convert `sourceType` to a <see cref="T:System.Version" />; otherwise, <see langword="false" />.</returns>
6763
<remarks>To be added.</remarks>
@@ -89,9 +85,7 @@
8985
<Docs>
9086
<param name="context">An object that provides contextual information.</param>
9187
<param name="destinationType">The target type for the conversion.</param>
92-
<summary>
93-
<para>Gets a value indicating whether this converter can convert an object to the given destination type using the context.</para>
94-
</summary>
88+
<summary>Gets a value indicating whether this converter can convert an object to the given destination type using the context.</summary>
9589
<returns>
9690
<see langword="true" /> if the converter can convert an object to the given destination type; otherwise, <see langword="false" />.</returns>
9791
<remarks>To be added.</remarks>
@@ -155,9 +149,7 @@
155149
<param name="culture">The culture that supplies formatting information for the conversion.</param>
156150
<param name="value">The value to be converted.</param>
157151
<param name="destinationType">The type to convert the value parameter to.</param>
158-
<summary>
159-
<para>Converts the specified value to the specified destination type using the specified context and arguments.</para>
160-
</summary>
152+
<summary>Converts the specified value to the specified destination type using the specified context and arguments.</summary>
161153
<returns>An object that represents the converted value.</returns>
162154
<remarks>To be added.</remarks>
163155
</Docs>

xml/System.Composition.Hosting.Core/CompositionOperation.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ Instances of this class are not safe for access by multiple threads.
9090
</Parameters>
9191
<Docs>
9292
<param name="action">The action to run.</param>
93-
<summary>Specifies an action to run after all composition has completed, as indicated by the <see cref="T:System.Composition.OnImportsSatisfiedAttribute" />.
94-
</summary>
93+
<summary>Specifies an action to run after all composition has completed, as indicated by the <see cref="T:System.Composition.OnImportsSatisfiedAttribute" />.</summary>
9594
<remarks>
9695
<format type="text/markdown"><![CDATA[
9796

xml/System.Data.SqlClient/SqlConnection.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,8 +860,7 @@ End Module
860860
<param name="newSecurePassword">To be added.</param>
861861
<summary>Changes the SQL Server password for the user indicated in the <see cref="T:System.Data.SqlClient.SqlCredential" /> object.</summary>
862862
<remarks>To be added.</remarks>
863-
<exception cref="T:System.ArgumentException">
864-
The connection string contains any combination of <see langword="UserId" />, <see langword="Password" />, or <see langword="Integrated Security=true" />.
863+
<exception cref="T:System.ArgumentException">The connection string contains any combination of <see langword="UserId" />, <see langword="Password" />, or <see langword="Integrated Security=true" />.
865864

866865
-or-
867866

xml/System.Data/XmlReadMode.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@
114114
<Docs>
115115
<summary>Reads a DiffGram, applying changes from the DiffGram to the <see cref="T:System.Data.DataSet" />. The semantics are identical to those of a <see cref="M:System.Data.DataSet.Merge(System.Data.DataSet)" /> operation. As with the <see cref="M:System.Data.DataSet.Merge(System.Data.DataSet)" /> operation, <see cref="P:System.Data.DataRow.RowState" /> values are preserved. Input to <see cref="M:System.Data.DataSet.ReadXml(System.Xml.XmlReader)" /> with DiffGrams should only be obtained using the output from <see cref="M:System.Data.DataSet.WriteXml(System.IO.Stream)" /> as a DiffGram.
116116

117-
The target <see cref="T:System.Data.DataSet" /> must have the same schema as the <see cref="T:System.Data.DataSet" /> on which <see cref="Overload:System.Data.DataSet.WriteXml" /> as DiffGram is called. Otherwise the DiffGram merge operation fails and an exception is thrown.
118-
</summary>
117+
The target <see cref="T:System.Data.DataSet" /> must have the same schema as the <see cref="T:System.Data.DataSet" /> on which <see cref="Overload:System.Data.DataSet.WriteXml" /> as DiffGram is called. Otherwise the DiffGram merge operation fails and an exception is thrown.</summary>
119118
<remarks>To be added.</remarks>
120119
</Docs>
121120
</Member>

xml/System.Device.Location/GeoCoordinate.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@
649649
650650
]]></format>
651651
</remarks>
652-
<exception cref="System.ArgumentOutOfRangeException">
652+
<exception cref="T:System.ArgumentOutOfRangeException">
653653
<see cref="P:System.Device.Location.GeoCoordinate.Speed" /> is set outside the valid range.</exception>
654654
</Docs>
655655
</Member>

xml/System.Diagnostics/PresentationTraceSources.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ switchName="SourceSwitch" >
197197
</Parameters>
198198
<Docs>
199199
<param name="element">The element from which the property value is read.</param>
200-
<summary>Gets the value of the <see cref="P:System.Diagnostics.PresentationTraceSources.TraceLevelProperty" /> attached property for a specified element.</summary>
201-
<returns>The <see cref="P:System.Diagnostics.PresentationTraceSources.TraceLevelProperty" /> property value for the element.</returns>
200+
<summary>Gets the value of the <see cref="P:System.Diagnostics.PresentationTraceSources.TraceLevel" /> attached property for a specified element.</summary>
201+
<returns>The <see cref="P:System.Diagnostics.PresentationTraceSources.TraceLevel" /> property value for the element.</returns>
202202
<remarks>
203203
<format type="text/markdown"><![CDATA[
204204
@@ -372,7 +372,7 @@ switchName="SourceSwitch" >
372372
<Docs>
373373
<param name="element">The element to which the attached property is written.</param>
374374
<param name="traceLevel">The needed <see cref="T:System.Diagnostics.PresentationTraceLevel" /> value.</param>
375-
<summary>Sets the value of the <see cref="P:System.Diagnostics.PresentationTraceSources.TraceLevelProperty" /> attached property to a specified element.</summary>
375+
<summary>Sets the value of the <see cref="P:System.Diagnostics.PresentationTraceSources.TraceLevel" /> attached property to a specified element.</summary>
376376
<remarks>
377377
<format type="text/markdown"><![CDATA[
378378
@@ -422,7 +422,7 @@ switchName="SourceSwitch" >
422422
<ReturnType>System.Windows.DependencyProperty</ReturnType>
423423
</ReturnValue>
424424
<Docs>
425-
<summary>Identifies the <see cref="P:System.Diagnostics.PresentationTraceSources.TraceLevelProperty" /> attached property.</summary>
425+
<summary>Identifies the <see cref="P:System.Diagnostics.PresentationTraceSources.TraceLevel" /> attached property.</summary>
426426
<remarks>
427427
<format type="text/markdown"><![CDATA[
428428

xml/System.DirectoryServices.ActiveDirectory/ReplicationConnection.xml

Lines changed: 68 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,23 @@
6969
<remarks>To be added.</remarks>
7070
<exception cref="T:System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException">A call to the underlying directory service resulted in an error.</exception>
7171
<exception cref="T:System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException">The target server is either busy or unavailable.</exception>
72-
<exception cref="T:System.ArgumentException">This exception will occur for any one of the following reasons:
73-
74-
- The target of the <paramref name="context" /> parameter is not a domain controller or AD LDS instance.
75-
76-
- <paramref name="sourceServer" /> is invalid or an empty string.
77-
78-
- The target specified in the <paramref name="context" /> parameter does not match the server type specified in the <paramref name="sourceServer" /> parameter. The servers must both be either domain controllers or AD LDS instances.
79-
80-
- The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are domain controllers, but are not in the same forest.
81-
82-
- The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are AD LDS instances, but do not belong to the same configuration set.</exception>
72+
<exception cref="T:System.ArgumentException">The target of the <paramref name="context" /> parameter is not a domain controller or AD LDS instance.
73+
74+
-or-
75+
76+
<paramref name="sourceServer" /> is invalid or an empty string.
77+
78+
-or-
79+
80+
The target specified in the <paramref name="context" /> parameter does not match the server type specified in the <paramref name="sourceServer" /> parameter. The servers must both be either domain controllers or AD LDS instances.
81+
82+
-or-
83+
84+
The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are domain controllers, but are not in the same forest.
85+
86+
-or-
87+
88+
The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are AD LDS instances, but do not belong to the same configuration set.</exception>
8389
<exception cref="T:System.ArgumentNullException">
8490
<paramref name="context" /> or <paramref name="sourceServer" /> is <see langword="null" />.</exception>
8591
<exception cref="T:System.Security.Authentication.AuthenticationException">The credentials that were supplied are not valid.</exception>
@@ -116,17 +122,23 @@
116122
<remarks>To be added.</remarks>
117123
<exception cref="T:System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException">A call to the underlying directory service resulted in an error.</exception>
118124
<exception cref="T:System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException">The target server is either busy or unavailable.</exception>
119-
<exception cref="T:System.ArgumentException">This exception will occur for any one of the following reasons:
120-
121-
- The target of the <paramref name="context" /> parameter is not a domain controller or AD LDS instance.
122-
123-
- <paramref name="sourceServer" /> is invalid or an empty string.
124-
125-
- The target specified in the <paramref name="context" /> parameter does not match the server type specified in the <paramref name="sourceServer" /> parameter. The servers must both be either domain controllers or AD LDS instances.
126-
127-
- The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are domain controllers, but are not in the same forest.
128-
129-
- The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are AD LDS instances, but do not belong to the same configuration set.</exception>
125+
<exception cref="T:System.ArgumentException">The target of the <paramref name="context" /> parameter is not a domain controller or AD LDS instance.
126+
127+
-or-
128+
129+
<paramref name="sourceServer" /> is invalid or an empty string.
130+
131+
-or-
132+
133+
The target specified in the <paramref name="context" /> parameter does not match the server type specified in the <paramref name="sourceServer" /> parameter. The servers must both be either domain controllers or AD LDS instances.
134+
135+
-or-
136+
137+
The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are domain controllers, but are not in the same forest.
138+
139+
-or-
140+
141+
The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are AD LDS instances, but do not belong to the same configuration set.</exception>
130142
<exception cref="T:System.ArgumentNullException">
131143
<paramref name="context" />, <paramref name="sourceServer" /> or <paramref name="schedule" /> is <see langword="null" />.</exception>
132144
<exception cref="T:System.Security.Authentication.AuthenticationException">The credentials that were supplied are not valid.</exception>
@@ -164,17 +176,23 @@
164176
<remarks>To be added.</remarks>
165177
<exception cref="T:System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException">A call to the underlying directory service resulted in an error.</exception>
166178
<exception cref="T:System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException">The target server is either busy or unavailable.</exception>
167-
<exception cref="T:System.ArgumentException">This exception will occur for any one of the following reasons:
168-
169-
- The target of the <paramref name="context" /> parameter is not a domain controller or AD LDS instance.
170-
171-
- <paramref name="sourceServer" /> is invalid or an empty string.
172-
173-
- The target specified in the <paramref name="context" /> parameter does not match the server type specified in the <paramref name="sourceServer" /> parameter. The servers must both be either domain controllers or AD LDS instances.
174-
175-
- The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are domain controllers, but are not in the same forest.
176-
177-
- The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are AD LDS instances, but do not belong to the same configuration set.</exception>
179+
<exception cref="T:System.ArgumentException">The target of the <paramref name="context" /> parameter is not a domain controller or AD LDS instance.
180+
181+
-or-
182+
183+
<paramref name="sourceServer" /> is invalid or an empty string.
184+
185+
-or-
186+
187+
The target specified in the <paramref name="context" /> parameter does not match the server type specified in the <paramref name="sourceServer" /> parameter. The servers must both be either domain controllers or AD LDS instances.
188+
189+
-or-
190+
191+
The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are domain controllers, but are not in the same forest.
192+
193+
-or-
194+
195+
The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are AD LDS instances, but do not belong to the same configuration set.</exception>
178196
<exception cref="T:System.ArgumentNullException">
179197
<paramref name="context" /> or <paramref name="sourceServer" /> is <see langword="null" />.</exception>
180198
<exception cref="T:System.Security.Authentication.AuthenticationException">The credentials that were supplied are not valid.</exception>
@@ -217,17 +235,23 @@
217235
<remarks>To be added.</remarks>
218236
<exception cref="T:System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException">A call to the underlying directory service resulted in an error.</exception>
219237
<exception cref="T:System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException">The target server is either busy or unavailable.</exception>
220-
<exception cref="T:System.ArgumentException">This exception will occur for any one of the following reasons:
221-
222-
- The target of the <paramref name="context" /> parameter is not a domain controller or AD LDS instance.
223-
224-
- <paramref name="sourceServer" /> is invalid or an empty string.
225-
226-
- The target specified in the <paramref name="context" /> parameter does not match the server type specified in the <paramref name="sourceServer" /> parameter. The servers must both be either domain controllers or AD LDS instances.
227-
228-
- The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are domain controllers, but are not in the same forest.
229-
230-
- The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are AD LDS instances, but do not belong to the same configuration set.</exception>
238+
<exception cref="T:System.ArgumentException">The target of the <paramref name="context" /> parameter is not a domain controller or AD LDS instance.
239+
240+
-or-
241+
242+
<paramref name="sourceServer" /> is invalid or an empty string.
243+
244+
-or-
245+
246+
The target specified in the <paramref name="context" /> parameter does not match the server type specified in the <paramref name="sourceServer" /> parameter. The servers must both be either domain controllers or AD LDS instances.
247+
248+
-or-
249+
250+
The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are domain controllers, but are not in the same forest.
251+
252+
-or-
253+
254+
The servers specified in the <paramref name="context" /> and <paramref name="sourceServer" /> parameters are AD LDS instances, but do not belong to the same configuration set.</exception>
231255
<exception cref="T:System.ArgumentNullException">
232256
<paramref name="context" />, <paramref name="sourceServer" /> or <paramref name="schedule" /> is <see langword="null" />.</exception>
233257
<exception cref="T:System.Security.Authentication.AuthenticationException">The credentials that were supplied are not valid.</exception>

0 commit comments

Comments
 (0)