dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
725 stars 1.56k forks source link

Wrong "Throws" remark IPAddress.TryPase #10625

Open alex-jitbit opened 7 hours ago

alex-jitbit commented 7 hours ago

Type of issue

Outdated article

Description

The page says that IPAddress.TryPase throws ArgumentNullException is iPString is null.

IT DOES NOT THROW it just returns false.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.net.ipaddress.tryparse?view=net-8.0

Content source URL

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

Document Version Independent Id

cae55a9a-fb38-88f2-d68c-8c820f5d7265

Article author

@karelz

dotnet-policy-service[bot] commented 6 hours ago

Tagging subscribers to this area: @dotnet/ncl