Skip to content

Commit 2da9674

Browse files
authored
Fix bad links (#10305)
1 parent 2b18d31 commit 2da9674

File tree

11 files changed

+226
-226
lines changed

11 files changed

+226
-226
lines changed

xml/System/AppDomainSetup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@
848848
<ReturnType>System.Boolean</ReturnType>
849849
</ReturnValue>
850850
<Docs>
851-
<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>
851+
<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>
852852
<value>
853853
<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>
854854
<remarks>

xml/System/Char.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9009,7 +9009,7 @@ This member is an explicit interface member implementation. It can be used only
90099009
]]></format>
90109010
</remarks>
90119011
<block subset="none" type="usage">
9012-
<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>
9012+
<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>
90139013
</block>
90149014
<altmember cref="M:System.Text.Rune.ToLower(System.Text.Rune,System.Globalization.CultureInfo)" />
90159015
<altmember cref="M:System.Text.Rune.ToUpper(System.Text.Rune,System.Globalization.CultureInfo)" />
@@ -9448,7 +9448,7 @@ This member is an explicit interface member implementation. It can be used only
94489448
]]></format>
94499449
</remarks>
94509450
<block subset="none" type="usage">
9451-
<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>
9451+
<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>
94529452
</block>
94539453
<altmember cref="M:System.Text.Rune.ToUpper(System.Text.Rune,System.Globalization.CultureInfo)" />
94549454
<altmember cref="M:System.Text.Rune.ToLower(System.Text.Rune,System.Globalization.CultureInfo)" />

xml/System/Console.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5377,7 +5377,7 @@ This method can be used to reacquire the standard output stream after it has bee
53775377
<paramref name="format" /> or <paramref name="arg" /> is <see langword="null" />.</exception>
53785378
<exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
53795379
<block subset="none" type="usage">
5380-
<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>
5380+
<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>
53815381
</block>
53825382
<altmember cref="M:System.Console.Read" />
53835383
<altmember cref="M:System.Console.ReadLine" />
@@ -6946,7 +6946,7 @@ This method can be used to reacquire the standard output stream after it has bee
69466946
<paramref name="format" /> or <paramref name="arg" /> is <see langword="null" />.</exception>
69476947
<exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
69486948
<block subset="none" type="usage">
6949-
<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>
6949+
<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>
69506950
</block>
69516951
<altmember cref="M:System.Console.Read" />
69526952
<altmember cref="M:System.Console.ReadLine" />

xml/System/DateTime.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5729,7 +5729,7 @@ You can also download a complete set of `DateTime.Parse` examples, which are inc
57295729
<Parameter Name="s" Type="System.String" />
57305730
</Parameters>
57315731
<Docs>
5732-
<param name="s">A string that contains a date and time to convert. See [The string to parse](#StringToParse) for more information.</param>
5732+
<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>
57335733
<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>
57345734
<returns>An object that is equivalent to the date and time contained in <paramref name="s" />.</returns>
57355735
<remarks>
@@ -5884,8 +5884,8 @@ It handles the <xref:System.FormatException> exception that is thrown when the m
58845884
</Parameter>
58855885
</Parameters>
58865886
<Docs>
5887-
<param name="s">A string that contains a date and time to convert. See [The string to parse](#StringToParse) for more information.</param>
5888-
<param name="provider">An object that supplies culture-specific format information about <paramref name="s" />. See [Parsing and cultural conventions](#Culture)</param>
5887+
<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>
5888+
<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>
58895889
<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>
58905890
<returns>An object that is equivalent to the date and time contained in <paramref name="s" /> as specified by <paramref name="provider" />.</returns>
58915891
<remarks>
@@ -5966,8 +5966,8 @@ The following example parses an array of date strings by using the conventions o
59665966
<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" />
59675967
</Parameters>
59685968
<Docs>
5969-
<param name="s">The memory span that contains the string to parse. See [The string to parse](#StringToParse) for more information.</param>
5970-
<param name="provider">An object that supplies culture-specific format information about <paramref name="s" />. See [Parsing and cultural conventions](#Culture)</param>
5969+
<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>
5970+
<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>
59715971
<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>
59725972
<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>
59735973
<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>
@@ -6036,8 +6036,8 @@ The following example parses an array of date strings by using the conventions o
60366036
<Parameter Name="styles" Type="System.Globalization.DateTimeStyles" />
60376037
</Parameters>
60386038
<Docs>
6039-
<param name="s">A string that contains a date and time to convert. See [The string to parse](#StringToParse) for more information.</param>
6040-
<param name="provider">An object that supplies culture-specific formatting information about <paramref name="s" />. See [Parsing and cultural conventions](#Culture)</param>
6039+
<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>
6040+
<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>
60416041
<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>
60426042
<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>
60436043
<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>

0 commit comments

Comments
 (0)