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
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 @@ -122,7 +122,7 @@
It is to your advantage to use the type-specific implementation of the <xref:System.Collections.Generic.List%601> class instead of using the <xref:System.Collections.ArrayList> class or writing a strongly typed wrapper collection yourself. The reason is your implementation must do what the .NET Framework does for you already, and the common language runtime can share Microsoft intermediate language code and metadata, which your implementation cannot.

## F# Considerations
The <xref:System.Collections.Generic.List%601> class is used infrequently in F# code. Instead, [Lists](/dotnet/fsharp/language-reference/lists), which are immutable, singly-linked lists, are typically preferred. An F# List provides an ordered, immutable series of values, and is supported for use in functional-style development. When used from F#, the <xref:System.Collections.Generic.List%601> class is typically referred to by the [ResizeArray\<'T>](https://fsharp.github.io/fsharp-core-docs/reference/fsharp-collections-resizearray-1.html) type abbreviation to avoid naming conflicts with F# Lists.
The <xref:System.Collections.Generic.List%601> class is used infrequently in F# code. Instead, [Lists](/dotnet/fsharp/language-reference/lists), which are immutable, singly-linked lists, are typically preferred. An F# `List` provides an ordered, immutable series of values, and is supported for use in functional-style development. When used from F#, the <xref:System.Collections.Generic.List%601> class is typically referred to by the `ResizeArray<'T>` type abbreviation to avoid naming conflicts with F# Lists.

## Examples

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,7 @@
|connectionProtection setting|Expected ADAM port|
|----------------------------------|------------------------|
|<xref:System.Web.Security.ActiveDirectoryConnectionProtection.None>|389|
|`Secure`|636|

If your ADAM server is not using the default ports, see article Q817583, "Active Directory Services does not request secure authorization over an SSL connection," in the [Microsoft Knowledge Base](https://go.microsoft.com/fwlink/?linkid=37115).


|`Secure`|636|

## Examples
The following code examples show the Web.config file for an ASP.NET application configured to use an <xref:System.Web.Security.ActiveDirectoryMembershipProvider> instance. The first example uses the default mappings for Active Directory attributes, and does not support password-reset security with question-and-answer nor the ability to call search methods. The second example shows all the attribute settings allowed for an <xref:System.Web.Security.ActiveDirectoryMembershipProvider> instance.
Expand Down
1 change: 0 additions & 1 deletion xml/System.Xml.XPath/XPathExpression.xml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ expression.AddSort("@ISBN", (IComparer)isbn);
<altmember cref="T:System.Globalization.CultureInfo" />
<altmember cref="Overload:System.String.Compare" />
<altmember cref="M:System.Xml.XPath.XPathExpression.SetContext(System.Xml.XmlNamespaceManager)" />
<related type="ExternalDocumentation" href="https://go.microsoft.com/fwlink/?LinkId=148089">Namespace Prefix in String Passed to XPathExpression.AddSort</related>
</Docs>
</Member>
<Member MemberName="Clone">
Expand Down
6 changes: 2 additions & 4 deletions xml/System/InvalidProgramException.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,9 @@
<format type="text/markdown"><![CDATA[

## Remarks
<xref:System.InvalidProgramException> uses the HRESULT COR_E_INVALIDPROGRAM, which has the value 0x8013153A.
<xref:System.InvalidProgramException> uses the HRESULT `COR_E_INVALIDPROGRAM`, which has the value 0x8013153A.

For a list of initial property values for an instance of <xref:System.InvalidProgramException>, see the <xref:System.InvalidProgramException> constructors.

For more information about <xref:System.InvalidProgramException>, see article [Q312544 You may receive an "InvalidProgramException" error message when you run a Microsoft .NET-connected program](https://support.microsoft.com/help/312544/you-may-receive-an-invalidprogramexception-error-message-when-you-run) in the Microsoft Support website.
For a list of initial property values for an instance of <xref:System.InvalidProgramException>, see the <xref:System.InvalidProgramException> constructors.

]]></format>
</remarks>
Expand Down
7 changes: 1 addition & 6 deletions xml/System/TimeSpan.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4188,12 +4188,7 @@ This member is an explicit interface member implementation. It can be used only
|"*hh*"|The number of hours in the time interval, ranging from 0 to 23.|
|"*mm*"|The number of minutes in the time interval, ranging from 0 to 59.|
|"*ss*"|The number of seconds in the time interval, ranging from 0 to 59.|
|"*fffffff*"|Fractional seconds in the time interval. This element is omitted if the time interval does not include fractional seconds. If present, fractional seconds are always expressed using seven decimal digits.|

> [!NOTE]
> For more information about comparing the string representation of <xref:System.TimeSpan> and Oracle data types, see Knowledge Base article [324577: System.TimeSpan Does Not Match Oracle 9i INTERVAL DAY TO SECOND Data Type](https://go.microsoft.com/fwlink/?LinkId=161146).


|"*fffffff*"|Fractional seconds in the time interval. This element is omitted if the time interval does not include fractional seconds. If present, fractional seconds are always expressed using seven decimal digits.|

## Examples
The following example displays the strings returned by calling the <xref:System.TimeSpan.ToString%2A> method with a number of <xref:System.TimeSpan> values. Note that although the example does not call the <xref:System.TimeSpan.ToString%2A> method directly, it is called by the <xref:System.Console.WriteLine%2A?displayProperty=nameWithType> method when it attempts to convert a <xref:System.TimeSpan> value to its string representation.
Expand Down