Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -611,8 +611,7 @@
The type of the <see cref="T:System.Net.Http.DelegatingHandler" />. The handler type must be registered as a transient service.
</typeparam>
<param name="builder">The <see cref="T:Microsoft.Extensions.DependencyInjection.IHttpClientBuilder" />.</param>
<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>
<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>
<returns>An <see cref="T:Microsoft.Extensions.DependencyInjection.IHttpClientBuilder" /> that can be used to configure the client.</returns>
<remarks>
<para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

```vb
Private Sub DemoFixedLengthString()
' Declare a string that has a length of 7 characters and assign the
' Declare a string that has a length of 7 characters and assign the
' initial string. The additional 5 positions will be padded with
' spaces.
Dim fixedString As New FixedLengthString(7, "He")
Expand Down
4 changes: 2 additions & 2 deletions xml/Microsoft.VisualBasic/Interaction.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw")

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.

`GetSetting` requires `Read`<xref:System.Security.Permissions.RegistryPermission> .
`GetSetting` requires `Read` <xref:System.Security.Permissions.RegistryPermission>.



Expand Down Expand Up @@ -1413,7 +1413,7 @@ drawObj.SaveAs("C:\Drawings\sample.drw")

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.

`SaveSetting` requires `Write` and `Create`<xref:System.Security.Permissions.RegistryPermission> .
`SaveSetting` requires `Write` and `Create` <xref:System.Security.Permissions.RegistryPermission>.

## Examples
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.
Expand Down
2 changes: 1 addition & 1 deletion xml/Microsoft.Win32/FileDialogCustomPlaces.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
</ReturnValue>
<Docs>
<summary>Gets the Favorites folder for the current user.</summary>
<value>The Favorites folder for the current user.</value>
<value>The Favorites folder for the current user.</value>
<remarks>
<format type="text/markdown"><![CDATA[
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Activities.Validation/ValidationSettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<ReturnType>System.Collections.Generic.IDictionary&lt;System.Type,System.Collections.Generic.IList&lt;System.Activities.Validation.Constraint&gt;&gt;</ReturnType>
</ReturnValue>
<Docs>
<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>
<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>
<value>A dictionary type list of constraints and types.</value>
<remarks>To be added.</remarks>
</Docs>
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Activities/NativeActivityContext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,7 @@
<typeparam name="T4">The data that is carried into an activity.</typeparam>
<typeparam name="T5">The data that is carried into an activity.</typeparam>
<typeparam name="T6">The data that is carried into an activity.</typeparam>
<typeparam name="T7">The data that is carried into an activity.</typeparam>
<typeparam name="T7">The data that is carried into an activity.</typeparam>
<typeparam name="T8">The data that is carried into an activity.</typeparam>
<typeparam name="T9">The data that is carried into an activity.</typeparam>
<typeparam name="T10">The data that is carried into an activity.</typeparam>
Expand Down
2 changes: 1 addition & 1 deletion xml/System.CodeDom.Compiler/CompilerParameters.xml
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
</ReturnValue>
<Docs>
<summary>Specifies an evidence object that represents the security policy permissions to grant the compiled assembly.</summary>
<value>An object that represents the security policy permissions to grant the compiled assembly.</value>
<value>An object that represents the security policy permissions to grant the compiled assembly.</value>
<remarks>To be added.</remarks>
<altmember cref="T:System.Security.Policy.Evidence" />
</Docs>
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Collections.Generic/HashSet`1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2007,7 +2007,7 @@


## Examples
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.
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.

:::code language="csharp" source="~/snippets/csharp/System.Collections.Generic/HashSetT/IsProperSubsetOf/Program.cs" interactive="try-dotnet-method" id="Snippet02":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Generic.HashSet_boolMethods/vb/Program.vb" id="Snippet02":::
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Collections.Generic/List`1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@

<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.

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.
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.

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.

Expand Down
2 changes: 1 addition & 1 deletion xml/System.Collections.Immutable/IImmutableList`1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ For information on creating an `IImmutableList<T>` implementation, see <xref:Sys
</Parameters>
<Docs>
<param name="value">The object to add to the list.</param>
<summary>Makes a copy of the list, and adds the specified object to the end of the copied list.</summary>
<summary>Makes a copy of the list, and adds the specified object to the end of the copied list.</summary>
<returns>A new list with the object added.</returns>
<remarks>To be added.</remarks>
</Docs>
Expand Down
4 changes: 2 additions & 2 deletions xml/System.Collections.Immutable/ImmutableList`1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
</Parameters>
<Docs>
<param name="item">The object to locate. The value can be null for reference types.</param>
<param name="comparer">The comparer implementation to use when comparing elements or null to use the default comparer.</param>
<param name="comparer">The comparer implementation to use when comparing elements or null to use the default comparer.</param>
<summary>Searches the entire sorted list for an element using the specified comparer and returns the zero-based index of the element.</summary>
<returns>The zero-based index of item in the sorted List, if item is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than item or, if there is no larger element, the bitwise complement of <see cref="P:System.Collections.ICollection.Count" />.</returns>
<remarks>To be added.</remarks>
Expand Down Expand Up @@ -1865,7 +1865,7 @@
<Parameter Name="comparer" Type="System.Collections.Generic.IComparer&lt;T&gt;" />
</Parameters>
<Docs>
<param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer (<see cref="P:System.Collections.Generic.Comparer`1.Default" />).</param>
<param name="comparer">The implementation to use when comparing elements, or <see langword="null" /> to use the default comparer (<see cref="P:System.Collections.Generic.Comparer`1.Default" />).</param>
<summary>Sorts the elements in the entire immutable list using the specified comparer.</summary>
<returns>The sorted list.</returns>
<remarks>To be added.</remarks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ This member is an explicit interface member implementation. It can be used only
</Parameters>
<Docs>
<param name="index">The zero-based index of the item to remove.</param>
<summary>Removes the item at the specified index.</summary>
<summary>Removes the item at the specified index.</summary>
<remarks>
<format type="text/markdown"><![CDATA[

Expand Down
4 changes: 2 additions & 2 deletions xml/System.ComponentModel.Design/DesignerActionList.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

<xref:System.ComponentModel.Design.DesignerActionList> is the base class, derived from by component developers in order to populate a smart tag panel. A smart tag panel represents the menu-like user interface (UI) for smart tags.

This derived class may implement the `virtual`<xref:System.ComponentModel.Design.DesignerActionList.GetSortedActionItems%2A> method to return a collection of objects derived from <xref:System.ComponentModel.Design.DesignerActionItem>. These objects represent the smart tag panel items. Each item is displayed in the panel according to its type. For example, a <xref:System.ComponentModel.Design.DesignerActionTextItem> is displayed as a static text label. Active panel items, represented by the <xref:System.ComponentModel.Design.DesignerActionPropertyItem> and <xref:System.ComponentModel.Design.DesignerActionMethodItem> types, have a corresponding publicly accessible property or method, respectively, that implements the functionality for that item.
This derived class may implement the `virtual` <xref:System.ComponentModel.Design.DesignerActionList.GetSortedActionItems%2A> method to return a collection of objects derived from <xref:System.ComponentModel.Design.DesignerActionItem>. These objects represent the smart tag panel items. Each item is displayed in the panel according to its type. For example, a <xref:System.ComponentModel.Design.DesignerActionTextItem> is displayed as a static text label. Active panel items, represented by the <xref:System.ComponentModel.Design.DesignerActionPropertyItem> and <xref:System.ComponentModel.Design.DesignerActionMethodItem> types, have a corresponding publicly accessible property or method, respectively, that implements the functionality for that item.

For more information about how to add items to the smart tag panel, see the <xref:System.ComponentModel.Design.DesignerActionList.GetSortedActionItems%2A> method.

Expand Down Expand Up @@ -274,7 +274,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
The `virtual`<xref:System.ComponentModel.Design.DesignerActionList.GetSortedActionItems%2A> method is implemented to return, in the expected display order, a collection of objects derived from the <xref:System.ComponentModel.Design.DesignerActionItem> class. These items can be of the following specific types.
The `virtual` <xref:System.ComponentModel.Design.DesignerActionList.GetSortedActionItems%2A> method is implemented to return, in the expected display order, a collection of objects derived from the <xref:System.ComponentModel.Design.DesignerActionItem> class. These items can be of the following specific types.

|Type|Description|
|----------|-----------------|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
The <xref:System.ComponentModel.Design.DesignerActionUIService.Refresh%2A> method updates the internal `DesignerAction`<xref:System.Windows.Forms.Design.Behavior.Glyph>, as well as the smart tag panel.
The <xref:System.ComponentModel.Design.DesignerActionUIService.Refresh%2A> method updates the internal `DesignerAction` <xref:System.Windows.Forms.Design.Behavior.Glyph>, as well as the smart tag panel.



Expand Down
2 changes: 1 addition & 1 deletion xml/System.ComponentModel/MaskedTextResultHint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
</ReturnValue>
<MemberValue>-51</MemberValue>
<Docs>
<summary>Operation did not succeed. The program encountered an input character that was not valid. For more information about characters that are not valid, see the <see cref="M:System.ComponentModel.MaskedTextProvider.IsValidInputChar(System.Char)" /> method.</summary>
<summary>Operation did not succeed. The program encountered an input character that was not valid. For more information about characters that are not valid, see the <see cref="M:System.ComponentModel.MaskedTextProvider.IsValidInputChar(System.Char)" /> method.</summary>
</Docs>
</Member>
<Member MemberName="LetterExpected">
Expand Down
2 changes: 1 addition & 1 deletion xml/System.ComponentModel/PropertyFilterOptions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
</ReturnValue>
<MemberValue>8</MemberValue>
<Docs>
<summary>Return any property that is valid on the object in the current scope.</summary>
<summary>Return any property that is valid on the object in the current scope.</summary>
</Docs>
</Member>
</Members>
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Configuration/Configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ Note: If you use a static <see langword="GetSection" /> method that takes a path
## Remarks
The <xref:System.Configuration.Configuration.Save%2A> method persists configuration settings in the <xref:System.Configuration.Configuration> object based on the `saveMode` and `forceSaveAll` parameters.

If a configuration file does not exist at the physical location represented by the <xref:System.Configuration.Configuration.FilePath%2A> property, a new configuration file will be created to contain any settings that are different from the inherited configuration.
If a configuration file does not exist at the physical location represented by the <xref:System.Configuration.Configuration.FilePath%2A> property, a new configuration file will be created to contain any settings that are different from the inherited configuration.

If the configuration file has changed since this <xref:System.Configuration.Configuration> object was created, a run-time error occurs.

Expand Down
2 changes: 1 addition & 1 deletion xml/System.Configuration/ConnectionStringsSection.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
The <xref:System.Configuration.ConnectionStringsSection> class allows you to programmatically modify the `connectionStrings` section of the configuration file. The connection strings are provided as a <xref:System.Configuration.ConnectionStringSettingsCollection> of <xref:System.Configuration.ConnectionStringSettings>`add` configuration elements.
The <xref:System.Configuration.ConnectionStringsSection> class allows you to programmatically modify the `connectionStrings` section of the configuration file. The connection strings are provided as a <xref:System.Configuration.ConnectionStringSettingsCollection> of <xref:System.Configuration.ConnectionStringSettings> `add` configuration elements.



Expand Down
2 changes: 1 addition & 1 deletion xml/System.Configuration/OverrideMode.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
Use the <xref:System.Configuration.OverrideMode> enumeration values to set the <xref:System.Configuration.SectionInformation.OverrideMode%2A> property of the <xref:System.Configuration.SectionInformation> class. You set this property in order to programmatically specify override behavior of a configuration element or group. To declaratively set the override behavior for all configuration elements inside a element, use the `allowOverride` attribute. The <xref:System.Configuration.SectionInformation.OverrideMode%2A> property gives you more granular control over the elements inside a `location` element.
Use the <xref:System.Configuration.OverrideMode> enumeration values to set the <xref:System.Configuration.SectionInformation.OverrideMode%2A> property of the <xref:System.Configuration.SectionInformation> class. You set this property in order to programmatically specify override behavior of a configuration element or group. To declaratively set the override behavior for all configuration elements inside a `location` element, use the `allowOverride` attribute. The <xref:System.Configuration.SectionInformation.OverrideMode%2A> property gives you more granular control over the elements inside a `location` element.

]]></format>
</remarks>
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Data.Common.CommandTrees/DbLimitExpression.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
A <xref:System.Data.Common.CommandTrees.DbLimitExpression> can be applied to any <xref:System.Data.Common.CommandTrees.DbExpression> with a collection result type, including <xref:System.Data.Common.CommandTrees.DbSkipExpression>. <xref:System.Data.Common.CommandTrees.DbLimitExpression> provides the equivalent of the Top operation. It does not require an ordering operation to have been performed on its input. It has two `Expression` properties, <xref:System.Data.Common.CommandTrees.DbLimitExpression.Argument%2A> and <xref:System.Data.Common.CommandTrees.DbLimitExpression.Limit%2A>, that specify the collection and the number of rows to return respectively. <xref:System.Data.Common.CommandTrees.DbLimitExpression> also has a `Boolean`<xref:System.Data.Common.CommandTrees.DbLimitExpression.WithTies%2A> property that controls whether rows equal in rank to the final row are returned. <xref:System.Data.Common.CommandTrees.DbLimitExpression.WithTies%2A> defaults to `false`.
A <xref:System.Data.Common.CommandTrees.DbLimitExpression> can be applied to any <xref:System.Data.Common.CommandTrees.DbExpression> with a collection result type, including <xref:System.Data.Common.CommandTrees.DbSkipExpression>. <xref:System.Data.Common.CommandTrees.DbLimitExpression> provides the equivalent of the Top operation. It does not require an ordering operation to have been performed on its input. It has two `Expression` properties, <xref:System.Data.Common.CommandTrees.DbLimitExpression.Argument%2A> and <xref:System.Data.Common.CommandTrees.DbLimitExpression.Limit%2A>, that specify the collection and the number of rows to return respectively. <xref:System.Data.Common.CommandTrees.DbLimitExpression> also has a `Boolean` <xref:System.Data.Common.CommandTrees.DbLimitExpression.WithTies%2A> property that controls whether rows equal in rank to the final row are returned. <xref:System.Data.Common.CommandTrees.DbLimitExpression.WithTies%2A> defaults to `false`.

]]></format>
</remarks>
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Data.Metadata.Edm/GlobalItem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</Base>
<Interfaces />
<Docs>
<summary>Represents the base item class for all the conceptual model types and entity containers.</summary>
<summary>Represents the base item class for all the conceptual model types and entity containers.</summary>
<remarks>
<format type="text/markdown"><![CDATA[

Expand Down
Loading