17 references to IPAddressParser
System.Net.Primitives (17)
System\Net\IPAddress.cs (17)
242address = IPAddressParser.Parse(ipString.AsSpan(), tryParse: true); 254result = IPAddressParser.Parse(utf8Text, tryParse: true); 260address = IPAddressParser.Parse(ipSpan, tryParse: true); 282return IPAddressParser.Parse(ipString.AsSpan(), tryParse: false)!; 292return IPAddressParser.Parse(utf8Text, tryParse: false)!; 297return IPAddressParser.Parse(ipSpan, tryParse: false)!; 453Span<char> span = stackalloc char[IPAddressParser.MaxIPv6StringLength]; 455IPAddressParser.FormatIPv4Address(_addressOrScopeId, span) : 456IPAddressParser.FormatIPv6Address(_numbers, _addressOrScopeId, span); 492if (destination.Length >= IPAddressParser.MaxIPv4StringLength) 494charsWritten = IPAddressParser.FormatIPv4Address(_addressOrScopeId, destination); 500if (destination.Length >= IPAddressParser.MaxIPv6StringLength) 502charsWritten = IPAddressParser.FormatIPv6Address(_numbers, _addressOrScopeId, destination); 507Span<TChar> tmpDestination = stackalloc TChar[IPAddressParser.MaxIPv6StringLength]; 508Debug.Assert(tmpDestination.Length >= IPAddressParser.MaxIPv4StringLength); 511IPAddressParser.FormatIPv4Address(PrivateAddress, tmpDestination) : 512IPAddressParser.FormatIPv6Address(_numbers, PrivateScopeId, tmpDestination);