Skip to content

Commit 2e87782

Browse files
authored
Clean up whitespace; add missing words (dotnet#8114)
1 parent 12360a3 commit 2e87782

File tree

155 files changed

+419
-422
lines changed

Some content is hidden

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

155 files changed

+419
-422
lines changed

xml/Microsoft.Extensions.DependencyInjection/HttpClientBuilderExtensions.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,7 @@
611611
The type of the <see cref="T:System.Net.Http.DelegatingHandler" />. The handler type must be registered as a transient service.
612612
</typeparam>
613613
<param name="builder">The <see cref="T:Microsoft.Extensions.DependencyInjection.IHttpClientBuilder" />.</param>
614-
<summary>Configures the primary <see cref="T:System.Net.Http.HttpMessageHandler" /> from the dependency injection container
615-
for a named <see cref="T:System.Net.Http.HttpClient" />.</summary>
614+
<summary>Configures the primary <see cref="T:System.Net.Http.HttpMessageHandler" /> from the dependency injection container for a named <see cref="T:System.Net.Http.HttpClient" />.</summary>
616615
<returns>An <see cref="T:Microsoft.Extensions.DependencyInjection.IHttpClientBuilder" /> that can be used to configure the client.</returns>
617616
<remarks>
618617
<para>

xml/Microsoft.VisualBasic.Compatibility.VB6/FixedLengthString.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
4040
```vb
4141
Private Sub DemoFixedLengthString()
42-
' Declare a string that has a length of 7 characters and assign the
42+
' Declare a string that has a length of 7 characters and assign the
4343
' initial string. The additional 5 positions will be padded with
4444
' spaces.
4545
Dim fixedString As New FixedLengthString(7, "He")

xml/Microsoft.VisualBasic/Interaction.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw")
10521052
10531053
Registry settings that are to be accessed from a non-interactive process (such as Mtx.exe) should be stored under either the `HKEY_LOCAL_MACHINE\Software\` or the `HKEY_USER\DEFAULT\Software` registry keys.
10541054
1055-
`GetSetting` requires `Read`<xref:System.Security.Permissions.RegistryPermission> .
1055+
`GetSetting` requires `Read` <xref:System.Security.Permissions.RegistryPermission>.
10561056
10571057
10581058
@@ -1413,7 +1413,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw")
14131413
14141414
Registry settings that are to be accessed from a non-interactive process (such as Mtx.exe) should be stored under either the `HKEY_LOCAL_MACHINE\Software\` or the `HKEY_USER\DEFAULT\Software` registry keys.
14151415
1416-
`SaveSetting` requires `Write` and `Create`<xref:System.Security.Permissions.RegistryPermission> .
1416+
`SaveSetting` requires `Write` and `Create` <xref:System.Security.Permissions.RegistryPermission>.
14171417
14181418
## Examples
14191419
The following example first uses the `SaveSetting` function to make entries in the Windows registry for the `MyApp` application, and then uses the `DeleteSetting` function to remove them.

xml/Microsoft.Win32/FileDialogCustomPlaces.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
</ReturnValue>
175175
<Docs>
176176
<summary>Gets the Favorites folder for the current user.</summary>
177-
<value>The Favorites folder for the current user.</value>
177+
<value>The Favorites folder for the current user.</value>
178178
<remarks>
179179
<format type="text/markdown"><![CDATA[
180180

xml/System.Activities.Validation/ValidationSettings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<ReturnType>System.Collections.Generic.IDictionary&lt;System.Type,System.Collections.Generic.IList&lt;System.Activities.Validation.Constraint&gt;&gt;</ReturnType>
5858
</ReturnValue>
5959
<Docs>
60-
<summary>Gets a dictionary of type-constraint pairs. Each additional constraint added to the dictionary will be applied to every activity of the specify type in the workflow to validate.</summary>
60+
<summary>Gets a dictionary of type-constraint pairs. Each additional constraint added to the dictionary will be applied to every activity of the specify type in the workflow to validate.</summary>
6161
<value>A dictionary type list of constraints and types.</value>
6262
<remarks>To be added.</remarks>
6363
</Docs>

xml/System.Activities/NativeActivityContext.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,7 @@
16971697
<typeparam name="T4">The data that is carried into an activity.</typeparam>
16981698
<typeparam name="T5">The data that is carried into an activity.</typeparam>
16991699
<typeparam name="T6">The data that is carried into an activity.</typeparam>
1700-
<typeparam name="T7">The data that is carried into an activity.</typeparam>
1700+
<typeparam name="T7">The data that is carried into an activity.</typeparam>
17011701
<typeparam name="T8">The data that is carried into an activity.</typeparam>
17021702
<typeparam name="T9">The data that is carried into an activity.</typeparam>
17031703
<typeparam name="T10">The data that is carried into an activity.</typeparam>

xml/System.CodeDom.Compiler/CompilerParameters.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@
428428
</ReturnValue>
429429
<Docs>
430430
<summary>Specifies an evidence object that represents the security policy permissions to grant the compiled assembly.</summary>
431-
<value>An object that represents the security policy permissions to grant the compiled assembly.</value>
431+
<value>An object that represents the security policy permissions to grant the compiled assembly.</value>
432432
<remarks>To be added.</remarks>
433433
<altmember cref="T:System.Security.Policy.Evidence" />
434434
</Docs>

xml/System.Collections.Generic/HashSet`1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2007,7 +2007,7 @@
20072007
20082008
20092009
## Examples
2010-
The following example creates two disparate <xref:System.Collections.Generic.HashSet%601> objects and compares them to each another. Initially, the two sets are not equal, which is demonstrated by using the <xref:System.Collections.Generic.HashSet%601.SetEquals%2A> method. The `allNumbers`<xref:System.Collections.Generic.HashSet%601> object is then modified, after which the sets are equal.
2010+
The following example creates two disparate <xref:System.Collections.Generic.HashSet%601> objects and compares them to each another. Initially, the two sets are not equal, which is demonstrated by using the <xref:System.Collections.Generic.HashSet%601.SetEquals%2A> method. The `allNumbers` <xref:System.Collections.Generic.HashSet%601> object is then modified, after which the sets are equal.
20112011
20122012
:::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02":::
20132013
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02":::

xml/System.Collections.Generic/List`1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@
887887
888888
<xref:System.Collections.Generic.List%601.Capacity%2A> is always greater than or equal to <xref:System.Collections.Generic.List%601.Count%2A>. If <xref:System.Collections.Generic.List%601.Count%2A> exceeds <xref:System.Collections.Generic.List%601.Capacity%2A> while adding elements, the capacity is increased by automatically reallocating the internal array before copying the old elements and adding the new elements.
889889
890-
If the capacity is significantly larger than the count and you want to reduce the memory used by the <xref:System.Collections.Generic.List%601>, you can decrease capacity by calling the <xref:System.Collections.Generic.List%601.TrimExcess%2A> method or by setting the <xref:System.Collections.Generic.List%601.Capacity%2A> property explicitly to a lower value. When the value of <xref:System.Collections.Generic.List%601.Capacity%2A> is set explicitly, the internal array is also reallocated to accommodate the specified capacity, and all the elements are copied.
890+
If the capacity is significantly larger than the count and you want to reduce the memory used by the <xref:System.Collections.Generic.List%601>, you can decrease capacity by calling the <xref:System.Collections.Generic.List%601.TrimExcess%2A> method or by setting the <xref:System.Collections.Generic.List%601.Capacity%2A> property explicitly to a lower value. When the value of <xref:System.Collections.Generic.List%601.Capacity%2A> is set explicitly, the internal array is also reallocated to accommodate the specified capacity, and all the elements are copied.
891891
892892
Retrieving the value of this property is an O(1) operation; setting the property is an O(*n*) operation, where *n* is the new capacity.
893893

xml/System.Collections.Immutable/IImmutableList`1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ For information on creating an `IImmutableList<T>` implementation, see <xref:Sys
8383
</Parameters>
8484
<Docs>
8585
<param name="value">The object to add to the list.</param>
86-
<summary>Makes a copy of the list, and adds the specified object to the end of the copied list.</summary>
86+
<summary>Makes a copy of the list, and adds the specified object to the end of the copied list.</summary>
8787
<returns>A new list with the object added.</returns>
8888
<remarks>To be added.</remarks>
8989
</Docs>

0 commit comments

Comments
 (0)