Skip to content

Commit b3fdab4

Browse files
Copilotgewarren
andauthored
Add deprecation warning to Uri.UserEscaped property documentation (#11467)
* Initial plan for issue * Add deprecation warning to Uri.UserEscaped property documentation Co-authored-by: gewarren <[email protected]> * Update xml/System/Uri.xml * Update xml/System/Uri.xml * Remove misleading "always false" claim from Uri.UserEscaped documentation Co-authored-by: gewarren <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: gewarren <[email protected]>
1 parent a33f8fb commit b3fdab4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xml/System/Uri.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6030,7 +6030,8 @@ The following examples show a URI and the results of calling <xref:System.Uri.Ge
60306030
<format type="text/markdown"><![CDATA[
60316031
60326032
## Remarks
6033-
The <xref:System.Uri.UserEscaped%2A> property is set to `true` to indicate that the string used to create the <xref:System.Uri> instance was completely escaped before it was passed to the constructor; that is, the `dontEscape` parameter of the constructor call was set to `true`.
6033+
6034+
The <xref:System.Uri.UserEscaped> property was originally designed to indicate that the string used to create the <xref:System.Uri> instance was completely escaped before it was passed to the constructor; that is, the `dontEscape` parameter of the constructor call was set to `true`. However, since the `dontEscape` parameter is now obsolete, this property is deprecated and shouldn't be used.
60346035
60356036
## Examples
60366037
The following example creates a <xref:System.Uri> instance and determines whether it was fully escaped when it was created.

0 commit comments

Comments
 (0)