Home
last modified time | relevance | path

Searched refs:DnsSafeHost (Results 1 – 25 of 49) sorted by relevance

12

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Uri/tests/FunctionalTests/
H A DIdnDnsSafeHostTest.cs19 string dns = test.DnsSafeHost; in IdnDnsSafeHost_IdnOffWithBuiltInScheme_Success()
31 string dns = test.DnsSafeHost; in IdnDnsSafeHost_IdnOffWithUnregisteredScheme_Success()
43 Assert.Equal("::1%23", test.DnsSafeHost); in IdnDnsSafeHost_IPv6Host_ScopeIdButNoBrackets()
54 Assert.Equal("www.xn--pck.com", test.DnsSafeHost); in IdnDnsSafeHost_MixedCase_ToLowerCase()
65 Assert.Equal("\u30AF", test.DnsSafeHost); in IdnDnsSafeHost_SingleLabelAllExceptIntranet_Unicode()
76 Assert.Equal("\u30AF.com", test.DnsSafeHost); in IdnDnsSafeHost_MultiLabelAllExceptIntranet_Punycode()
H A DUriIpHostTest.cs169 Assert.Equal(IPAddress.Loopback.ToString(), testUri.DnsSafeHost); in UriIPv4Host_UriWithPort_Success()
179 Assert.Equal(IPAddress.Loopback.ToString(), testUri.DnsSafeHost); in UriIPv4Host_UriWithQuery_Success()
189 Assert.Equal(IPAddress.Loopback.ToString(), testUri.DnsSafeHost); in UriIPv4Host_UriWithFragment_Success()
206 Assert.Equal(expected, testUri.DnsSafeHost); in ParseIPv4Address()
212 Assert.Equal(expected, testUri.DnsSafeHost); in ParseIPv4Address()
354 Assert.Equal(expected, testUri.DnsSafeHost); in ParseIPv6Address()
360 Assert.Equal(expected, testUri.DnsSafeHost); in ParseIPv6Address()
H A DIdnHostNameValidationTest.cs100 string s = u.DnsSafeHost; in IdnHost_Internal_Call_ThrowsException()
129 Assert.Equal(expectedDnsSafeHost, uri.DnsSafeHost); in ValidateUri()
H A DUriTests.cs67 s = uri.DnsSafeHost; in TestCtor_String()
151 s = uri.DnsSafeHost; in TestCtor_Uri_String()
226 Assert.Throws<System.InvalidOperationException>(() => { Object o = uri.DnsSafeHost; }); in TestCtor_String_UriKind()
295 s = uri.DnsSafeHost; in TestCtor_Uri_Uri()
377 s = uri.DnsSafeHost; in TestTryCreate_String_UriKind()
460 s = uri.DnsSafeHost; in TestTryCreate_Uri_String()
544 s = uri.DnsSafeHost; in TestTryCreate_Uri_Uri()
626 Assert.Throws<System.InvalidOperationException>(() => { Object o = uri.DnsSafeHost; }); in TestMakeRelative()
H A DUriGetComponentsTest.cs25 Assert.Equal("www.xn--pck.com", testUri.DnsSafeHost); in GetComponents_PunycodeHostIriOnIdnOff_LowerCaseResult()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System/
H A DUriTest2.cs284 Assert.AreEqual (String.Empty, uri.DnsSafeHost, "DnsSafeHost"); in File()
485 Assert.IsNotNull (uri.DnsSafeHost); in CheckRelativeUri()
669 Assert.AreEqual ("c", uri.DnsSafeHost, "http.DnsSafeHost"); in Host_Drive()
676 Assert.AreEqual ("c", uri.DnsSafeHost, "https.DnsSafeHost"); in Host_Drive()
683 Assert.AreEqual ("c", uri.DnsSafeHost, "ftp.DnsSafeHost"); in Host_Drive()
690 Assert.AreEqual ("c", uri.DnsSafeHost, "nntp.DnsSafeHost"); in Host_Drive()
766 Assert.AreEqual (String.Empty, uri.DnsSafeHost, "DnsSafeHost"); in NewsScheme()
892 Assert.AreEqual ("host", uri.DnsSafeHost, "DnsSafeHost"); in FileScheme()
963 Assert.AreEqual ("localhost", uri.DnsSafeHost, "DnsSafeHost"); in LocalhostWinFile()
995 Assert.AreEqual ("localhost", uri.DnsSafeHost, "DnsSafeHost"); in LocalhostFile()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel.Channels/System/ServiceModel/Channels/
H A DServerUdpOutputChannel.cs127 … remoteEndPoint = new IPEndPoint(IPAddress.Parse(destination.DnsSafeHost), destination.Port); in GetSendSockets()
141 …alidOperationException(SR.RemoteAddressUnreachableDueToIPVersionMismatch(destination.DnsSafeHost)); in GetSendSockets()
180 …alidOperationException(SR.RemoteAddressUnreachableDueToIPVersionMismatch(destination.DnsSafeHost)); in GetSendSockets()
H A DUdpChannelFactory.cs166 IPAddress address = IPAddress.Parse(via.DnsSafeHost); in GetSockets()
180 …row FxTrace.Exception.AsError(new EndpointNotFoundException(SR.DnsResolveFailed(via.DnsSafeHost))); in GetSockets()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.ServicePoint/src/System/Net/
H A DServicePointManager.cs196 address.Scheme + "://" + address.DnsSafeHost :
197 address.Scheme + "://" + address.DnsSafeHost + ":" + address.Port.ToString();
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/
H A DTcpChannelListener.cs282 string ipv6Host = originalUri.DnsSafeHost; in FixIpv6Hostname()
338 ipv6Address = IPAddress.Parse(this.Uri.DnsSafeHost); in SetupUniquePort()
343 ipv4Address = IPAddress.Parse(this.Uri.DnsSafeHost); in SetupUniquePort()
H A DTcpConnectionPool.cs42 string normalizedHost = via.DnsSafeHost.ToUpperInvariant(); in GetPoolKey()
H A DDnsCache.cs65 string hostName = uri.DnsSafeHost; in Resolve()
H A DTransportChannelListener.cs320 IPAddress channelListenerIP = IPAddress.Parse(this.Uri.DnsSafeHost); in IsScopeIdCompatible()
321 IPAddress otherIP = IPAddress.Parse(uri.DnsSafeHost); in IsScopeIdCompatible()
H A DExclusiveTcpTransportManager.cs34 this.ipAddress = IPAddress.Parse(channelListener.Uri.DnsSafeHost); in ExclusiveTcpTransportManager()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Uri/tests/ExtendedFunctionalTests/
H A DUriTests.cs41 s = uri.DnsSafeHost; in TestCtor_String_Boolean()
129 s = uri.DnsSafeHost; in TestCtor_Uri_String_Boolean()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Security/
H A DSimpleSecurityTokenProvider.cs79 … endpointIdentity = EndpointIdentity.CreateDnsIdentity(targetAddress.Uri.DnsSafeHost); in WrapWithAuthPolicy()
H A DSpnegoTokenProvider.cs246 spn = "host/" + target.Uri.DnsSafeHost; in CreateNegotiationState()
H A DIdentityVerifier.cs223 return EndpointIdentity.CreateDnsIdentity(toAddress.DnsSafeHost); in TryCreateDnsIdentity()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/
H A DServicePointManager.cs559 return address.Scheme + "://" + address.DnsSafeHost; in MakeQueryString()
561 return address.Scheme + "://" + address.DnsSafeHost + ":" + address.Port.ToString(); in MakeQueryString()
H A DServicePoint.cs108 …if (Logging.On) Logging.Enter(Logging.Web, this, "ServicePoint", address.DnsSafeHost + ":" + addre… in ServicePoint()
113 m_Host = address.DnsSafeHost; in ServicePoint()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Uri/src/System/
H A DUri.cs129 …public string DnsSafeHost; // stores dns safe host when idn is on and we have unicode or idn ho… field in System.Uri.UriInfo
1164 public string DnsSafeHost property in System.Uri
1177 return _info.DnsSafeHost;
1182 if (!string.IsNullOrEmpty(_info.DnsSafeHost))
1185 return _info.DnsSafeHost;
1219 _info.DnsSafeHost = ret;
1230 string host = this.DnsSafeHost;
2446 info.DnsSafeHost = _dnsSafeHost; in CreateUriInfo()
5200 + '[' + basePart.DnsSafeHost + ']' in CombineUri()
5278 left = @"\\[" + basePart.DnsSafeHost + ']'; in CombineUri()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/
H A DURI.cs142 …public string DnsSafeHost; // stores dns safe host when idn is on and we have unicode or idn … field in System.Uri.UriInfo
1330 public string DnsSafeHost {
1340 return m_Info.DnsSafeHost;
1345 if (!String.IsNullOrEmpty(m_Info.DnsSafeHost)) {
1347 return m_Info.DnsSafeHost;
1376 m_Info.DnsSafeHost = ret;
1385 string host = this.DnsSafeHost;
2535 info.DnsSafeHost = m_DnsSafeHost;
5144 + '[' + basePart.DnsSafeHost + ']'
5211 left = @"\\[" + basePart.DnsSafeHost + ']';
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime/tests/System/
H A DUri.CreateStringTests.cs476 Assert.Equal(dnsSafeHost, uri.DnsSafeHost); in Scheme_Authority_IdnHost()
1284 Assert.Throws<InvalidOperationException>(() => uri.DnsSafeHost); in VerifyRelativeUri()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Http/src/System/Net/Http/Unix/
H A DCurlHandler.EasyRequest.cs287 if (IPAddress.TryParse(url.DnsSafeHost, out ip) && ip.IsIPv6LinkLocal) in IsLinkLocal()
619 … string proxyUrl = IPAddress.TryParse(proxyUri.DnsSafeHost, out ip) && ip.IsIPv6LinkLocal ? in SetProxyOptions()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Net/
H A DWebRequestTest.cs368 if (req.ResponseUri.DnsSafeHost.Equals ("navigationshilfe1.t-online.de")) in TestFailedResolution()

12