Skip to content

Uri.UserEscaped contains deprecated information without warning #11436

Open
@mbaker-e2open

Description

@mbaker-e2open

Type of issue

Typo

Description

As mentioned in the deprecation comments from .NET Framework 4 and onward, the "dontEscape" Uri constructor flag is obsolete and will always be false.

Therefore this property will never be true.

The documentation should:

  • Indicate to the reader that this is deprecated functionality and will not function as expected

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.uri.userescaped?view=netframework-4.8&devlangs=csharp&f1url=%3FappId%3DDev17IDEF1%26l%3DEN-US%26k%3Dk(System.Uri.UserEscaped)%3Bk(TargetFrameworkMoniker-.NETFramework%2CVersion%3Dv4.8)%3Bk(DevLang-csharp)%26rd%3Dtrue

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System/Uri.xml

Document Version Independent Id

493894d0-6345-dd2c-5ce1-125b6e91df02

Platform Id

32d97ecd-6e48-ec4b-aee6-3aa176d4cdd2

Article author

@dotnet-bot

Metadata

Metadata

Assignees

Labels

needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area ownersuntriagedNew issue has not been triaged by the area owner

Type

No type

Projects

Status

🔖 Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions