Skip to content

Commit 7bc0ef5

Browse files
authored
fix Gets and sets to Gets or sets (dotnet#1357)
* fix Gets and sets to Gets or sets * more fixes * feedback
1 parent 4323dfa commit 7bc0ef5

File tree

97 files changed

+214
-214
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+214
-214
lines changed

xml/Microsoft.Build.Construction/ProjectTargetElement.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,8 @@
425425
<ReturnType>System.String</ReturnType>
426426
</ReturnValue>
427427
<Docs>
428-
<summary>Gets and sets the name of the this target.</summary>
429-
<value>Returns the name of the this target.</value>
428+
<summary>Gets or sets the name of this target.</summary>
429+
<value>The name of this target.</value>
430430
<remarks>To be added.</remarks>
431431
</Docs>
432432
</Member>

xml/Microsoft.Build.Construction/ProjectUsingTaskElement.xml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
</ReturnValue>
9393
<Docs>
9494
<summary>Gets or sets the Architecture attribute of this inline task.</summary>
95-
<value>Returns the value of the Architecture attribute. Returns an empty string if the attribute is not present.</value>
95+
<value>The value of the Architecture attribute, or an empty string if the attribute is not present.</value>
9696
<remarks>To be added.</remarks>
9797
</Docs>
9898
</Member>
@@ -112,8 +112,8 @@
112112
<ReturnType>Microsoft.Build.Construction.ElementLocation</ReturnType>
113113
</ReturnValue>
114114
<Docs>
115-
<summary>Location of the Architecture attribute on this element, if any.</summary>
116-
<value>Returns the Architecture attribute location. If there is no such attribute, returns null.</value>
115+
<summary>Gets the location of the Architecture attribute on this element, if any.</summary>
116+
<value>The Architecture attribute location, or <see langword="null" /> if there is no Architecture attribute.</value>
117117
<remarks>To be added.</remarks>
118118
</Docs>
119119
</Member>
@@ -134,7 +134,7 @@
134134
</ReturnValue>
135135
<Docs>
136136
<summary>Gets the value of the AssemblyFile attribute, which selects the name of the assembly to load.</summary>
137-
<value>Returns the value of the AssemblyFile attribute. Returns an empty string if the attribute is not present.</value>
137+
<value>The value of the AssemblyFile attribute. Returns an empty string if the attribute is not present.</value>
138138
<remarks>
139139
<format type="text/markdown"><![CDATA[
140140
@@ -161,8 +161,8 @@
161161
<ReturnType>Microsoft.Build.Construction.ElementLocation</ReturnType>
162162
</ReturnValue>
163163
<Docs>
164-
<summary>Location of the AssemblyFile attribute on this element, if any.</summary>
165-
<value>Returns the AssemblyFile attribute location. If there is no such attribute, returns null.</value>
164+
<summary>Gets the location of the AssemblyFile attribute on this element, if any.</summary>
165+
<value>The AssemblyFile attribute location, or <see langword="null" /> if there is no AssemblyFile attribute.</value>
166166
<remarks>To be added.</remarks>
167167
</Docs>
168168
</Member>
@@ -182,8 +182,8 @@
182182
<ReturnType>System.String</ReturnType>
183183
</ReturnValue>
184184
<Docs>
185-
<summary>Gets and sets the value of the AssemblyName attribute.</summary>
186-
<value>Returns the value of the AssemblyName attribute. Returns an empty string if the attribute is not present.</value>
185+
<summary>Gets or sets the value of the AssemblyName attribute.</summary>
186+
<value>The value of the AssemblyName attribute. Returns an empty string if the attribute is not present.</value>
187187
<remarks>
188188
<format type="text/markdown"><![CDATA[
189189
@@ -210,8 +210,8 @@
210210
<ReturnType>Microsoft.Build.Construction.ElementLocation</ReturnType>
211211
</ReturnValue>
212212
<Docs>
213-
<summary>Location of the AssemblyName attribute on this element, if any.</summary>
214-
<value>Returns the AssemblyName attribute location. If there is no such attribute, returns null.</value>
213+
<summary>Gets the location of the AssemblyName attribute on this element, if any.</summary>
214+
<value>The AssemblyName attribute location, or <see langword="null" /> if there is no AssemblyName attribute.</value>
215215
<remarks>To be added.</remarks>
216216
</Docs>
217217
</Member>
@@ -232,7 +232,7 @@
232232
</ReturnValue>
233233
<Docs>
234234
<summary>Gets any ParameterGroup element for this inline task.</summary>
235-
<value>Returns the parameter group. Returns null if no parameter group exists.</value>
235+
<value>The parameter group. Returns null if no parameter group exists.</value>
236236
<remarks>To be added.</remarks>
237237
</Docs>
238238
</Member>
@@ -253,7 +253,7 @@
253253
</ReturnValue>
254254
<Docs>
255255
<summary>Gets or sets the Runtime attribute of this inline task.</summary>
256-
<value>Returns the value of the Runtime attribute. Returns an empty string if the attribute is not present.</value>
256+
<value>The value of the Runtime attribute. Returns an empty string if the attribute is not present.</value>
257257
<remarks>To be added.</remarks>
258258
</Docs>
259259
</Member>
@@ -273,8 +273,8 @@
273273
<ReturnType>Microsoft.Build.Construction.ElementLocation</ReturnType>
274274
</ReturnValue>
275275
<Docs>
276-
<summary>Location of the Runtime attribute on this element, if any.</summary>
277-
<value>Returns the Runtime attribute location. If there is no such attribute, returns null.</value>
276+
<summary>Gets the location of the Runtime attribute on this element, if any.</summary>
277+
<value>The Runtime attribute location, or <see langword="null" /> if there is no Runtime attribute.</value>
278278
<remarks>To be added.</remarks>
279279
</Docs>
280280
</Member>
@@ -295,7 +295,7 @@
295295
</ReturnValue>
296296
<Docs>
297297
<summary>Gets the inner XML content of this inline task.</summary>
298-
<value>Returns the inner XML content of the inline task. Returns null if no body exists.</value>
298+
<value>The inner XML content of the inline task. Returns null if no body exists.</value>
299299
<remarks>
300300
<format type="text/markdown"><![CDATA[
301301
@@ -322,8 +322,8 @@
322322
<ReturnType>System.String</ReturnType>
323323
</ReturnValue>
324324
<Docs>
325-
<summary>Gets and sets the value of the TaskFactory attribute of this inline task.</summary>
326-
<value>Returns the value of the TaskFactory attribute. Returns an empty string if the attribute is not present.</value>
325+
<summary>Gets or sets the value of the TaskFactory attribute of this inline task.</summary>
326+
<value>The value of the TaskFactory attribute. Returns an empty string if the attribute is not present.</value>
327327
<remarks>
328328
<format type="text/markdown"><![CDATA[
329329
@@ -350,8 +350,8 @@
350350
<ReturnType>Microsoft.Build.Construction.ElementLocation</ReturnType>
351351
</ReturnValue>
352352
<Docs>
353-
<summary>Location of the TaskFactory attribute on this element, if any.</summary>
354-
<value>Returns the value of the TaskFactory attribute. Returns an empty string if the attribute is not present.</value>
353+
<summary>Gets the location of the TaskFactory attribute on this element, if any.</summary>
354+
<value>The value of the TaskFactory attribute. Returns an empty string if the attribute is not present.</value>
355355
<remarks>To be added.</remarks>
356356
</Docs>
357357
</Member>
@@ -371,8 +371,8 @@
371371
<ReturnType>System.String</ReturnType>
372372
</ReturnValue>
373373
<Docs>
374-
<summary>Gets and sets the value of the TaskName attribute.</summary>
375-
<value>Returns the value of the TaskName attribute. Returns an empty string if the attribute is not present.</value>
374+
<summary>Gets or sets the value of the TaskName attribute.</summary>
375+
<value>The value of the TaskName attribute. Returns an empty string if the attribute is not present.</value>
376376
<remarks>
377377
<format type="text/markdown"><![CDATA[
378378
@@ -399,10 +399,10 @@
399399
<ReturnType>Microsoft.Build.Construction.ElementLocation</ReturnType>
400400
</ReturnValue>
401401
<Docs>
402-
<summary>Location of the TaskName attribute on this element, if any.</summary>
403-
<value>Returns the value of the TaskName attribute. Returns an empty string if the attribute is not present.</value>
402+
<summary>Gets the location of the TaskName attribute on this element, if any.</summary>
403+
<value>The value of the TaskName attribute. Returns an empty string if the attribute is not present.</value>
404404
<remarks>To be added.</remarks>
405405
</Docs>
406406
</Member>
407407
</Members>
408-
</Type>
408+
</Type>

xml/Microsoft.Build.Construction/ProjectUsingTaskParameterElement.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@
8989
<ReturnType>System.String</ReturnType>
9090
</ReturnValue>
9191
<Docs>
92-
<summary>Gets and sets the name of the parameter of this inline task.</summary>
93-
<value>Returns the name of the parameter.</value>
92+
<summary>Gets or sets the name of the parameter of this inline task.</summary>
93+
<value>The name of the parameter.</value>
9494
<remarks>To be added.</remarks>
9595
</Docs>
9696
</Member>

xml/Microsoft.Build.Utilities/MuxLogger.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@
167167
<ReturnType>System.String</ReturnType>
168168
</ReturnValue>
169169
<Docs>
170-
<summary>Gets and sets the Parameters attribute, required by the <see langword="ILogger" /> interface.</summary>
171-
<value>Returns the Parameters attribute.</value>
170+
<summary>Gets or sets the Parameters attribute, required by the <see langword="ILogger" /> interface.</summary>
171+
<value>The Parameters attribute.</value>
172172
<remarks>To be added.</remarks>
173173
</Docs>
174174
</Member>
@@ -266,8 +266,8 @@
266266
<ReturnType>Microsoft.Build.Framework.LoggerVerbosity</ReturnType>
267267
</ReturnValue>
268268
<Docs>
269-
<summary>Gets and sets the Verbosity attribute, required by the <see langword="ILogger" /> interface.</summary>
270-
<value>Returns the Verbosity attribute.</value>
269+
<summary>Gets or sets the Verbosity attribute, required by the <see langword="ILogger" /> interface.</summary>
270+
<value>The Verbosity attribute.</value>
271271
<remarks>To be added.</remarks>
272272
</Docs>
273273
</Member>

xml/System.AddIn.Hosting/AddInToken.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@
528528
<ReturnType>System.Boolean</ReturnType>
529529
</ReturnValue>
530530
<Docs>
531-
<summary>Gets and sets a value that indicates whether add-ins should be directly connected to their hosts when conditions permit.</summary>
531+
<summary>Gets or sets a value that indicates whether add-ins should be directly connected to their hosts when conditions permit.</summary>
532532
<value>
533533
<see langword="true" /> if the add-in should be directly connected to the host; otherwise, <see langword="false" />. The default is <see langword="false" />.</value>
534534
<remarks>

xml/System.Collections/SortedList.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1718,7 +1718,7 @@ A <xref:System.Collections.SortedList> element can be accessed by its key, like
17181718
</Parameters>
17191719
<Docs>
17201720
<param name="key">The key associated with the value to get or set.</param>
1721-
<summary>Gets and sets the value associated with a specific key in a <see cref="T:System.Collections.SortedList" /> object.</summary>
1721+
<summary>Gets or sets the value associated with a specific key in a <see cref="T:System.Collections.SortedList" /> object.</summary>
17221722
<value>The value associated with the <paramref name="key" /> parameter in the <see cref="T:System.Collections.SortedList" /> object, if <paramref name="key" /> is found; otherwise, <see langword="null" />.</value>
17231723
<remarks>
17241724
<format type="text/markdown"><![CDATA[

xml/System.Data.Common/DbParameterCollection.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@
813813
<AssemblyVersion>4.2.0.0</AssemblyVersion>
814814
</AssemblyInfo>
815815
<Docs>
816-
<summary>Gets and sets a <see cref="T:System.Data.Common.DbParameter" /> in the collection.</summary>
816+
<summary>Gets or sets a <see cref="T:System.Data.Common.DbParameter" /> in the collection.</summary>
817817
<related type="Article" href="~/docs/framework/data/adonet/ado-net-overview.md">ADO.NET Overview</related>
818818
</Docs>
819819
</MemberGroup>
@@ -849,7 +849,7 @@
849849
</Parameters>
850850
<Docs>
851851
<param name="index">The zero-based index of the parameter.</param>
852-
<summary>Gets and sets the <see cref="T:System.Data.Common.DbParameter" /> at the specified index.</summary>
852+
<summary>Gets or sets the <see cref="T:System.Data.Common.DbParameter" /> at the specified index.</summary>
853853
<value>The <see cref="T:System.Data.Common.DbParameter" /> at the specified index.</value>
854854
<remarks>To be added.</remarks>
855855
<exception cref="T:System.IndexOutOfRangeException">The specified index does not exist.</exception>
@@ -888,7 +888,7 @@
888888
</Parameters>
889889
<Docs>
890890
<param name="parameterName">The name of the parameter.</param>
891-
<summary>Gets and sets the <see cref="T:System.Data.Common.DbParameter" /> with the specified name.</summary>
891+
<summary>Gets or sets the <see cref="T:System.Data.Common.DbParameter" /> with the specified name.</summary>
892892
<value>The <see cref="T:System.Data.Common.DbParameter" /> with the specified name.</value>
893893
<remarks>To be added.</remarks>
894894
<exception cref="T:System.IndexOutOfRangeException">The specified index does not exist.</exception>

xml/System.Data.Services.Design/EntityClassGenerator.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@
294294
<ReturnType>System.Data.Services.Design.DataServiceCodeVersion</ReturnType>
295295
</ReturnValue>
296296
<Docs>
297-
<summary>Gets and sets the version of [!INCLUDE[ssAstoria](~/includes/ssastoria-md.md)] that the generated code targets.</summary>
297+
<summary>Gets or sets the version of [!INCLUDE[ssAstoria](~/includes/ssastoria-md.md)] that the generated code targets.</summary>
298298
<value>A <see cref="T:System.Data.Services.Design.DataServiceCodeVersion" /> value that indicates the version of the generated code.</value>
299299
<remarks>To be added.</remarks>
300300
</Docs>

xml/System.Data.SqlClient/SqlConnectionStringBuilder.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ Modified: Data Source=(local);Initial Catalog=AdventureWorks;Integrated Security
556556
<ReturnType>System.Data.SqlClient.SqlConnectionColumnEncryptionSetting</ReturnType>
557557
</ReturnValue>
558558
<Docs>
559-
<summary>Gets and sets the column encryption settings for the connection string builder.</summary>
559+
<summary>Gets or sets the column encryption settings for the connection string builder.</summary>
560560
<value>The column encryption settings for the connection string builder.</value>
561561
<remarks>To be added.</remarks>
562562
</Docs>

xml/System.Diagnostics.Eventing/EventProviderTraceListener.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ private static Guid providerId = new Guid("{B3F0C8FC-E8A8-4868-8901-1465E8A2F41B
206206
<ReturnType>System.String</ReturnType>
207207
</ReturnValue>
208208
<Docs>
209-
<summary>Gets and sets the delimiter used to delimit the event data that is written to the ETW subsystem.</summary>
209+
<summary>Gets or sets the delimiter used to delimit the event data that is written to the ETW subsystem.</summary>
210210
<value>The delimiter used to delimit the event data. The default delimiter is a comma.</value>
211211
<remarks>
212212
<format type="text/markdown"><![CDATA[

0 commit comments

Comments
 (0)