Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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/AppDomainSetup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets a value that indicates whether the [&lt;publisherPolicy&gt;](/dotnet/framework/configure-apps/file-schema/runtime/publisherpolicy-element) section of the configuration file is applied to an application domain.</summary>
<summary>Gets or sets a value that indicates whether the <see href="/dotnet/framework/configure-apps/file-schema/runtime/publisherpolicy-element">&lt;publisherPolicy&gt;</see> section of the configuration file is applied to an application domain.</summary>
<value>
<see langword="true" /> if the <see langword="&lt;publisherPolicy&gt;" /> section of the configuration file for an application domain is ignored; <see langword="false" /> if the declared publisher policy is honored.</value>
<remarks>
Expand Down
4 changes: 2 additions & 2 deletions xml/System/Char.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9009,7 +9009,7 @@ This member is an explicit interface member implementation. It can be used only
]]></format>
</remarks>
<block subset="none" type="usage">
<para>As explained in [Best Practices for Using Strings](/dotnet/standard/base-types/best-practices-strings), we recommend that you avoid calling character-casing and string-casing methods that substitute default values. Instead, you should call methods that require parameters to be explicitly specified. To convert a character to lowercase by using the casing conventions of the current culture, call the <see cref="M:System.Char.ToLower(System.Char,System.Globalization.CultureInfo)" /> method overload with a value of <see cref="P:System.Globalization.CultureInfo.CurrentCulture" /> for its <paramref name="culture" /> parameter.</para>
<para>As explained in <see href="/dotnet/standard/base-types/best-practices-strings">Best Practices for Using Strings</see>, we recommend that you avoid calling character-casing and string-casing methods that substitute default values. Instead, you should call methods that require parameters to be explicitly specified. To convert a character to lowercase by using the casing conventions of the current culture, call the <see cref="M:System.Char.ToLower(System.Char,System.Globalization.CultureInfo)" /> method overload with a value of <see cref="P:System.Globalization.CultureInfo.CurrentCulture" /> for its <paramref name="culture" /> parameter.</para>
</block>
<altmember cref="M:System.Text.Rune.ToLower(System.Text.Rune,System.Globalization.CultureInfo)" />
<altmember cref="M:System.Text.Rune.ToUpper(System.Text.Rune,System.Globalization.CultureInfo)" />
Expand Down Expand Up @@ -9448,7 +9448,7 @@ This member is an explicit interface member implementation. It can be used only
]]></format>
</remarks>
<block subset="none" type="usage">
<para>As explained in [Best Practices for Using Strings](/dotnet/standard/base-types/best-practices-strings), we recommend that you avoid calling character-casing and string-casing methods that substitute default values. Instead, you should call methods that require parameters to be explicitly specified. To convert a character to uppercase by using the casing conventions of the current culture, call the <see cref="M:System.Char.ToUpper(System.Char,System.Globalization.CultureInfo)" /> method overload with a value of <see cref="P:System.Globalization.CultureInfo.CurrentCulture" /> for its <paramref name="culture" /> parameter.</para>
<para>As explained in <see href="/dotnet/standard/base-types/best-practices-strings">Best Practices for Using Strings</see>, we recommend that you avoid calling character-casing and string-casing methods that substitute default values. Instead, you should call methods that require parameters to be explicitly specified. To convert a character to uppercase by using the casing conventions of the current culture, call the <see cref="M:System.Char.ToUpper(System.Char,System.Globalization.CultureInfo)" /> method overload with a value of <see cref="P:System.Globalization.CultureInfo.CurrentCulture" /> for its <paramref name="culture" /> parameter.</para>
</block>
<altmember cref="M:System.Text.Rune.ToUpper(System.Text.Rune,System.Globalization.CultureInfo)" />
<altmember cref="M:System.Text.Rune.ToLower(System.Text.Rune,System.Globalization.CultureInfo)" />
Expand Down
4 changes: 2 additions & 2 deletions xml/System/Console.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5377,7 +5377,7 @@ This method can be used to reacquire the standard output stream after it has bee
<paramref name="format" /> or <paramref name="arg" /> is <see langword="null" />.</exception>
<exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
<block subset="none" type="usage">
<para>This method is not called by C++ code. The C++ compiler resolves calls to [System.Console.Write](xref:System.Console.Write*) that include a string and a list of four or more object parameters as a call to <see cref="M:System.Console.Write(System.String,System.Object,System.Object,System.Object,System.Object)" />. It resolves calls to [System.Console.Write](xref:System.Console.Write*) that include a string and an object array as a call to <see cref="M:System.Console.Write(System.String,System.Object)" />.</para>
<para>This method is not called by C++ code. The C++ compiler resolves calls to <see href="xref:System.Console.Write*">System.Console.Write</see> that include a string and a list of four or more object parameters as a call to <see cref="M:System.Console.Write(System.String,System.Object,System.Object,System.Object,System.Object)" />. It resolves calls to <see href="xref:System.Console.Write*">System.Console.Write</see> that include a string and an object array as a call to <see cref="M:System.Console.Write(System.String,System.Object)" />.</para>
</block>
<altmember cref="M:System.Console.Read" />
<altmember cref="M:System.Console.ReadLine" />
Expand Down Expand Up @@ -6946,7 +6946,7 @@ This method can be used to reacquire the standard output stream after it has bee
<paramref name="format" /> or <paramref name="arg" /> is <see langword="null" />.</exception>
<exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
<block subset="none" type="usage">
<para>This method is not called by C++ code. The C++ compiler resolves calls to [System.Console.WriteLine](xref:System.Console.WriteLine*) that include a string and a list of four or more object parameters as a call to <see cref="M:System.Console.WriteLine(System.String,System.Object,System.Object,System.Object,System.Object)" />. It resolves calls to [System.Console.WriteLine](xref:System.Console.WriteLine*) that include a string and an object array as a call to <see cref="M:System.Console.WriteLine(System.String,System.Object)" />.</para>
<para>This method is not called by C++ code. The C++ compiler resolves calls to <see href="xref:System.Console.WriteLine*">System.Console.WriteLine</see> that include a string and a list of four or more object parameters as a call to <see cref="M:System.Console.WriteLine(System.String,System.Object,System.Object,System.Object,System.Object)" />. It resolves calls to <see href="xref:System.Console.WriteLine*">System.Console.WriteLine</see> that include a string and an object array as a call to <see cref="M:System.Console.WriteLine(System.String,System.Object)" />.</para>
</block>
<altmember cref="M:System.Console.Read" />
<altmember cref="M:System.Console.ReadLine" />
Expand Down
14 changes: 7 additions & 7 deletions xml/System/DateTime.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5729,7 +5729,7 @@ You can also download a complete set of `DateTime.Parse` examples, which are inc
<Parameter Name="s" Type="System.String" />
</Parameters>
<Docs>
<param name="s">A string that contains a date and time to convert. See [The string to parse](#StringToParse) for more information.</param>
<param name="s">A string that contains a date and time to convert. See <see href="#StringToParse">The string to parse</see> for more information.</param>
<summary>Converts the string representation of a date and time to its <see cref="T:System.DateTime" /> equivalent by using the conventions of the current culture.</summary>
<returns>An object that is equivalent to the date and time contained in <paramref name="s" />.</returns>
<remarks>
Expand Down Expand Up @@ -5884,8 +5884,8 @@ It handles the <xref:System.FormatException> exception that is thrown when the m
</Parameter>
</Parameters>
<Docs>
<param name="s">A string that contains a date and time to convert. See [The string to parse](#StringToParse) for more information.</param>
<param name="provider">An object that supplies culture-specific format information about <paramref name="s" />. See [Parsing and cultural conventions](#Culture)</param>
<param name="s">A string that contains a date and time to convert. See <see href="#StringToParse">The string to parse</see> for more information.</param>
<param name="provider">An object that supplies culture-specific format information about <paramref name="s" />. See <see href="#Culture">Parsing and cultural conventions</see></param>
<summary>Converts the string representation of a date and time to its <see cref="T:System.DateTime" /> equivalent by using culture-specific format information.</summary>
<returns>An object that is equivalent to the date and time contained in <paramref name="s" /> as specified by <paramref name="provider" />.</returns>
<remarks>
Expand Down Expand Up @@ -5966,8 +5966,8 @@ The following example parses an array of date strings by using the conventions o
<Parameter Name="styles" Type="System.Globalization.DateTimeStyles" Index="2" FrameworkAlternate="netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1;netcore-3.1;net-5.0;net-6.0;net-7.0;net-8.0;net-9.0" />
</Parameters>
<Docs>
<param name="s">The memory span that contains the string to parse. See [The string to parse](#StringToParse) for more information.</param>
<param name="provider">An object that supplies culture-specific format information about <paramref name="s" />. See [Parsing and cultural conventions](#Culture)</param>
<param name="s">The memory span that contains the string to parse. See <see href="#StringToParse">The string to parse</see> for more information.</param>
<param name="provider">An object that supplies culture-specific format information about <paramref name="s" />. See <see href="#Culture">Parsing and cultural conventions</see></param>
<param name="styles">A bitwise combination of the enumeration values that indicates the style elements that can be present in <paramref name="s" /> for the parse operation to succeed, and that defines how to interpret the parsed date in relation to the current time zone or the current date. A typical value to specify is <see cref="F:System.Globalization.DateTimeStyles.None" />.</param>
<summary>Converts a memory span that contains string representation of a date and time to its <see cref="T:System.DateTime" /> equivalent by using culture-specific format information and a formatting style.</summary>
<returns>An object that is equivalent to the date and time contained in <paramref name="s" />, as specified by <paramref name="provider" /> and <paramref name="styles" />.</returns>
Expand Down Expand Up @@ -6036,8 +6036,8 @@ The following example parses an array of date strings by using the conventions o
<Parameter Name="styles" Type="System.Globalization.DateTimeStyles" />
</Parameters>
<Docs>
<param name="s">A string that contains a date and time to convert. See [The string to parse](#StringToParse) for more information.</param>
<param name="provider">An object that supplies culture-specific formatting information about <paramref name="s" />. See [Parsing and cultural conventions](#Culture)</param>
<param name="s">A string that contains a date and time to convert. See <see href="#StringToParse">The string to parse</see> for more information.</param>
<param name="provider">An object that supplies culture-specific formatting information about <paramref name="s" />. See <see href="#Culture">Parsing and cultural conventions</see></param>
<param name="styles">A bitwise combination of the enumeration values that indicates the style elements that can be present in <paramref name="s" /> for the parse operation to succeed, and that defines how to interpret the parsed date in relation to the current time zone or the current date. A typical value to specify is <see cref="F:System.Globalization.DateTimeStyles.None" />.</param>
<summary>Converts the string representation of a date and time to its <see cref="T:System.DateTime" /> equivalent by using culture-specific format information and a formatting style.</summary>
<returns>An object that is equivalent to the date and time contained in <paramref name="s" />, as specified by <paramref name="provider" /> and <paramref name="styles" />.</returns>
Expand Down
Loading