Skip to content

Commit bbcfb59

Browse files
authored
Add note that Uri.Query and Fragment include the leading delimiter (#8977)
1 parent 7b008fb commit bbcfb59

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

xml/System/Uri.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2173,7 +2173,7 @@ If you used an escaped string to construct this instance (for example, `"http://
21732173
<ReturnType>System.String</ReturnType>
21742174
</ReturnValue>
21752175
<Docs>
2176-
<summary>Gets the escaped URI fragment.</summary>
2176+
<summary>Gets the escaped URI fragment, including the leading '#' character if not empty.</summary>
21772177
<value>URI fragment information.</value>
21782178
<remarks>
21792179
<format type="text/markdown"><![CDATA[
@@ -4241,7 +4241,7 @@ If you used an escaped string to construct this instance (for example, `"http://
42414241
<ReturnType>System.String</ReturnType>
42424242
</ReturnValue>
42434243
<Docs>
4244-
<summary>Gets any query information included in the specified URI.</summary>
4244+
<summary>Gets any query information included in the specified URI, including the leading '?' character if not empty.</summary>
42454245
<value>Any query information included in the specified URI.</value>
42464246
<remarks>
42474247
<format type="text/markdown"><![CDATA[

xml/System/UriBuilder.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ Note: In <see href="https://docs.microsoft.com/previous-versions/br230232(v=vs.1
657657
<ReturnType>System.String</ReturnType>
658658
</ReturnValue>
659659
<Docs>
660-
<summary>Gets or sets the fragment portion of the URI.</summary>
660+
<summary>Gets or sets the fragment portion of the URI, including the leading '#' character if not empty.</summary>
661661
<value>The fragment portion of the URI.</value>
662662
<remarks>
663663
<format type="text/markdown"><![CDATA[
@@ -1017,7 +1017,7 @@ The <xref:System.UriBuilder.Fragment> property contains any text following a fra
10171017
<ReturnType>System.String</ReturnType>
10181018
</ReturnValue>
10191019
<Docs>
1020-
<summary>Gets or sets any query information included in the URI.</summary>
1020+
<summary>Gets or sets any query information included in the URI, including the leading '?' character if not empty.</summary>
10211021
<value>The query information included in the URI.</value>
10221022
<remarks>
10231023
<format type="text/markdown"><![CDATA[

0 commit comments

Comments
 (0)