294 references to Scheme
PresentationBuildTasks (2)
Shared\MS\Internal\ResourceIDHelper.cs (2)
56if (baseUri.Scheme == sourceUri.Scheme && baseUri.Host == sourceUri.Host)
PresentationCore (41)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginPart.cs (1)
153if (SecurityHelper.AreStringTypesEqual(_absoluteLocation.Scheme, Uri.UriSchemeFile))
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
724else if (fontLocation.Scheme == PackUriHelper.UriSchemePack)
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (1)
64Debug.Assert(uri.IsAbsoluteUri && uri.Scheme == PackUriHelper.UriSchemePack && BaseUriHelper.IsPackApplicationUri(uri));
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (2)
463if (String.Compare(requestedUri.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal) != 0 464&& String.Compare(requestedUri.Scheme, Uri.UriSchemeHttps, StringComparison.Ordinal) != 0)
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (2)
114if (fullStreamLength > 0 && ((String.Compare(uri.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal) == 0) || 115(String.Compare(uri.Scheme, Uri.UriSchemeHttps, StringComparison.Ordinal) == 0)))
Core\CSharp\MS\Internal\IO\Packaging\PseudoWebRequest.cs (1)
335return (String.CompareOrdinal(_innerUri.Scheme, schemeName) == 0);
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (1)
70if (string.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.Ordinal) == 0)
Core\CSharp\System\IO\Packaging\PackWebRequestFactory.cs (2)
83if (String.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.Ordinal) != 0) 164if (String.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.Ordinal) == 0)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (7)
332((finalUri.Scheme == Uri.UriSchemeHttp) || 333(finalUri.Scheme == Uri.UriSchemeHttps))) 1170Debug.Assert((uri.Scheme == Uri.UriSchemeHttp) || (uri.Scheme == Uri.UriSchemeHttps)); 1185if (String.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase) == 0) 1218else if (uri.Scheme == Uri.UriSchemeHttp) // for http 1222else if (uri.Scheme == Uri.UriSchemeHttps) // for https
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (2)
216if (uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps)
Core\CSharp\System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (2)
77if (uriToDecode.Scheme == Uri.UriSchemeHttp || 78uriToDecode.Scheme == Uri.UriSchemeHttps)
Core\CSharp\System\Windows\Media\MediaClock.cs (1)
214&& baseUri.Scheme != System.IO.Packaging.PackUriHelper.UriSchemePack
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (4)
955if (source != null && source.IsAbsoluteUri && source.Scheme == PackUriHelper.UriSchemePack) 984if (SecurityHelper.AreStringTypesEqual(uriToOpen.Scheme, Uri.UriSchemeHttps)) 988if (!SecurityHelper.AreStringTypesEqual(appDeploymentUri.Scheme, Uri.UriSchemeHttps)) 1108if (absoluteUri.Scheme != Uri.UriSchemeHttps)
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (5)
178SecurityHelper.AreStringTypesEqual(uri.Scheme, PackUriHelper.UriSchemePack) && 201Debug.Assert(uri != null && uri.IsAbsoluteUri && SecurityHelper.AreStringTypesEqual(uri.Scheme, PackUriHelper.UriSchemePack) && IsPackApplicationUri(uri)); 408Invariant.Assert(packUri.IsAbsoluteUri && SecurityHelper.AreStringTypesEqual(packUri.Scheme, PackAppBaseUri.Scheme)); 429if (uri != null && uri.IsAbsoluteUri && SecurityHelper.AreStringTypesEqual(uri.Scheme, Uri.UriSchemeFile) &&
Shared\MS\Internal\SecurityHelper.cs (5)
447if (appDeploymentUri != null && appDeploymentUri.Scheme == Uri.UriSchemeHttps) 489bool isIntranetHttpsApp = (appZone == MS.Win32.NativeMethods.URLZONE_INTRANET && appUri.Scheme == Uri.UriSchemeHttps); 570if (siteOfOrigin.Scheme == Uri.UriSchemeFile) 574else if (siteOfOrigin.Scheme == Uri.UriSchemeHttp) 1275if (String.Compare((System.Windows.Navigation.BaseUriHelper.GetResolvedUri(System.Windows.Navigation.BaseUriHelper.BaseUri, new Uri(uri, UriKind.RelativeOrAbsolute))).Scheme,
Shared\MS\Utility\BindUriHelper.cs (4)
95return (SecurityHelper.AreStringTypesEqual(first.Scheme, second.Scheme) && first.Host.Equals(second.Host) == true); 173if (SecurityHelper.AreStringTypesEqual(sourceUri.Scheme, destinationUri.Scheme))
PresentationFramework (26)
src\Framework\MS\Internal\AppModel\AppModelKnownContentFactory.cs (4)
87if (SecurityHelper.AreStringTypesEqual(baseUri.Scheme, BaseUriHelper.PackAppBaseUri.Scheme)) 140if (SecurityHelper.AreStringTypesEqual(baseUri.Scheme, BaseUriHelper.PackAppBaseUri.Scheme))
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (5)
112bool isKnownScheme = (Object.ReferenceEquals(destinationUri.Scheme, Uri.UriSchemeHttp)) || 113(Object.ReferenceEquals(destinationUri.Scheme, Uri.UriSchemeHttps)) || 116bool fIsMailTo = String.Compare(destinationUri.Scheme, Uri.UriSchemeMailto, StringComparison.OrdinalIgnoreCase) == 0 ; 215if (uri.Scheme != Uri.UriSchemeHttp && uri.Scheme != Uri.UriSchemeHttps)
src\Framework\MS\Internal\Controls\WebBrowserEvent.cs (2)
220return uri != null && (uri.Scheme == "javascript" || uri.Scheme == "vbscript");
src\Framework\System\Windows\Controls\AVElementHelper.cs (1)
139if (value.Scheme != System.IO.Packaging.PackUriHelper.UriSchemePack)
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
906if (baseUri.Scheme.Equals(PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase)) 934if (baseUri.Scheme.Equals(PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase))
src\Framework\System\Windows\Documents\FixedPage.cs (5)
621uri.Scheme == Uri.UriSchemeHttp || 622uri.Scheme == Uri.UriSchemeHttps || 623uri.Scheme == Uri.UriSchemeMailto || // Automation will request navigation to pack Uris when automating links withing a document 624(uri.Scheme == PackUriHelper.UriSchemePack && !String.IsNullOrEmpty(uri.Fragment))) 641(inputUri.Scheme == PackUriHelper.UriSchemePack && !String.IsNullOrEmpty(inputUri.Fragment))))
src\Framework\System\Windows\Navigation\JournalEntry.cs (1)
371bool isPack = String.Compare(uri.Scheme, PackUriHelper.UriSchemePack, StringComparison.OrdinalIgnoreCase) == 0;
src\Framework\System\Windows\Navigation\NavigationService.cs (2)
222if (SecurityHelper.AreStringTypesEqual(bpu.Scheme, BaseUriHelper.PackAppBaseUri.Scheme))
src\Shared\MS\Utility\BindUriHelper.cs (4)
95return (SecurityHelper.AreStringTypesEqual(first.Scheme, second.Scheme) && first.Host.Equals(second.Host) == true); 173if (SecurityHelper.AreStringTypesEqual(sourceUri.Scheme, destinationUri.Scheme))
SMSvcHost (1)
System\ServiceModel\Activation\RoutingTable.cs (1)
92UriBuilder uriBuilder = new UriBuilder(uri.Scheme, uri.Host, port, uri.PathAndQuery);
System (55)
compmod\microsoft\win32\SystemEvents.cs (2)
1262if (codeBase.Scheme == "file") { 1271if (exeUri.Scheme == "file") {
net\System\Net\_AuthenticationManager2.cs (1)
148if (httpWebRequest.ChallengedUri.Scheme == Uri.UriSchemeHttps)
net\System\Net\_AuthenticationManagerDefault.cs (1)
277if (httpWebRequest.ChallengedUri.Scheme == Uri.UriSchemeHttps)
net\System\Net\_AuthenticationState.cs (2)
100if ((object)ChallengedUri == null || (object)ChallengedUri.Scheme != (object)newUri.Scheme || ChallengedUri.Host != newUri.Host || ChallengedUri.Port != newUri.Port)
net\System\Net\_Connection.cs (2)
1073if ((httpWebRequest.IsWebSocketRequest || httpWebRequest.Address.Scheme == Uri.UriSchemeHttps) && 1157if (request.Address.Scheme == Uri.UriSchemeHttps) {
net\System\Net\Cache\_Rfc2616CacheValidators.cs (2)
1498((object)ctx.Uri.Scheme == (object)Uri.UriSchemeHttp || 1499(object)ctx.Uri.Scheme == (object)Uri.UriSchemeHttps))
net\System\Net\cookiecontainer.cs (1)
706bool isSecure = (uri.Scheme == Uri.UriSchemeHttps);
net\System\Net\CredentialCache.cs (2)
519if (prefixUri.Scheme != uri.Scheme || prefixUri.Host != uri.Host || prefixUri.Port != uri.Port)
net\System\Net\filewebrequest.cs (1)
51if ((object)uri.Scheme != (object)Uri.UriSchemeFile)
net\System\Net\FtpWebRequest.cs (1)
521if ((object)uri.Scheme != (object)Uri.UriSchemeFtp)
net\System\Net\HttpWebRequest.cs (10)
877(((object)_Uri.Scheme != (object)Uri.UriSchemeHttps && !IsWebSocketRequest) || (IsTunnelRequest)); 4738StringBuilder sb = new StringBuilder(_Uri.Scheme); 4778if ((object)_Uri.Scheme == (object)Uri.UriSchemeFtp) { 4942bool isTunnelRequestForHttp = IsTunnelRequest && _OriginUri.Scheme == Uri.UriSchemeHttp; 5415if ((_Uri.Scheme == Uri.UriSchemeHttps) || IsTunnelRequest) { 5757if (newUri.Scheme == Uri.UriSchemeWs) 5763else if (newUri.Scheme == Uri.UriSchemeWss) 5771if (newUri.Scheme != Uri.UriSchemeHttp && newUri.Scheme != Uri.UriSchemeHttps) 5878if(_OriginUri.Scheme == Uri.UriSchemeHttps) {
net\System\Net\ServicePoint.cs (2)
113m_ConnectionName = address.Scheme; 178if (uri.Scheme == Uri.UriSchemeHttps)
net\System\Net\ServicePointManager.cs (5)
630return address.Scheme + "://" + address.DnsSafeHost; 632return address.Scheme + "://" + address.DnsSafeHost + ":" + address.Port.ToString(); 772if (address.Scheme != Uri.UriSchemeHttp) 778Exception exception = new NotSupportedException(SR.GetString(SR.net_proxyschemenotsupported, address.Scheme)); 779GlobalLog.LeaveException("ServicePointManager::FindServicePointHelper() proxy has unsupported scheme:" + address.Scheme.ToString(), exception);
net\System\Net\webclient.cs (4)
709bool needsHeaderAndBoundary = (uri.Scheme != Uri.UriSchemeFile); 1541if (request.RequestUri.Scheme == Uri.UriSchemeFile) 1664if (uri.Scheme.ToLower(CultureInfo.InvariantCulture) == "ftp") { 2409bool needsHeaderAndBoundary = (uri.Scheme != Uri.UriSchemeFile);
net\System\Net\webproxy.cs (4)
283Uri proxy = proxyHostAddresses!=null ? proxyHostAddresses[destination.Scheme] as Uri : _ProxyAddress; 335string matchUriString = input.Scheme + "://" + input.Host + (!input.IsDefaultPort ? (":"+input.Port) : "" ); 379Uri proxy = (Uri) proxyHostAddresses[host.Scheme]; 677proxy = proxyHostAddresses[destination.Scheme] as Uri;
net\System\Net\WebRequest.cs (4)
135LookupUri = requestUri.Scheme + ':'; 316if ((requestUri.Scheme != Uri.UriSchemeHttp) && (requestUri.Scheme != Uri.UriSchemeHttps)) { 1169m_CacheBinding = RequestCacheManager.GetBinding(uri.Scheme);
net\System\Net\WebSockets\ClientWebSocket.cs (2)
130if (uri.Scheme != Uri.UriSchemeWs && uri.Scheme != Uri.UriSchemeWss)
net\System\URI.cs (6)
1920if ((Scheme == uri.Scheme) && (Host == uri.Host) && (Port == uri.Port)) 5074return basePart.Scheme + ':' + relativePart; 5318if ((Scheme == toUri.Scheme) && (Host == toUri.Host) && (Port == toUri.Port)) 5402if (Scheme == "telnet") {
net\System\uribuilder.cs (2)
74m_scheme = uri.Scheme; 384m_scheme = uri.Scheme;
net\System\UriExt.cs (1)
811newUriString = baseUri.Scheme + prefix + relativeStr;
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (1)
354uri.Scheme == "file")
System.Data.Services (1)
System\Data\Services\WebUtil.cs (1)
151if (GetHostAndPort(requestHost, baseUri.Scheme, out host, out port))
System.Data.Services.Client (4)
System\Data\Services\Client\DataServiceContext.cs (4)
166((serviceRoot.Scheme != "http") && (serviceRoot.Scheme != "https"))) 1930requestUri.Scheme.Equals("http", StringComparison.OrdinalIgnoreCase) || 1931requestUri.Scheme.Equals("https", StringComparison.OrdinalIgnoreCase),
System.ServiceModel (98)
System\ServiceModel\Channels\BaseUriWithWildcard.cs (3)
240if ((object)baseAddress.Scheme != (object)fullAddress.Scheme) 320this.comparand.Scheme = this.baseAddress.Scheme;
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
722result = new UriBuilder(via.Scheme, via.Host, via.Port).Uri;
System\ServiceModel\Channels\HttpChannelListener.cs (1)
726string.Equals(listenUri.Scheme, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase))//SPN list not used for HTTPS (CBT is used instead).
System\ServiceModel\Channels\MsmqUri.cs (6)
82if (uri.Scheme == NetMsmqAddressTranslator.Scheme) 86else if (uri.Scheme == FormatNameAddressTranslator.Scheme) 139if (uri.Scheme != this.Scheme) 189if (uri.Scheme != this.Scheme) 269if (uri.Scheme != this.Scheme) 332if (uri.Scheme != this.Scheme)
System\ServiceModel\Channels\PeerHelpers.cs (1)
556&& string.Compare(address.EndpointAddress.Uri.Scheme, Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase) == 0
System\ServiceModel\Channels\PeerNodeImplementation.cs (6)
169if (value.Scheme != PeerStrings.Scheme) 172value.Scheme, PeerStrings.Scheme)); 767if (listenUri.Scheme != PeerStrings.Scheme) 770listenUri.Scheme, PeerStrings.Scheme)); 803if (listenUri.Scheme != PeerStrings.Scheme) 806listenUri.Scheme, PeerStrings.Scheme));
System\ServiceModel\Channels\PipeConnection.cs (1)
2878if (uri.Scheme != Uri.UriSchemeNetPipe)
System\ServiceModel\Channels\PnrpPeerResolver.cs (2)
567if ((ProtocolFromName(uri.Scheme) != 0) && !String.IsNullOrEmpty(uri.AbsolutePath)) 569scheme = uri.Scheme;
System\ServiceModel\Channels\SharedConnectionListener.cs (1)
339this.isTcp = parent.baseAddress.BaseAddress.Scheme.Equals(Uri.UriSchemeNetTcp);
System\ServiceModel\Channels\TcpChannelListener.cs (1)
292UriBuilder builder = new UriBuilder(listenUri.Scheme, listenUri.Host, listenUri.Port);
System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
93if (address.Uri.Scheme == Uri.UriSchemeHttps && transportBindingElement is HttpTransportBindingElement && !(transportBindingElement is HttpsTransportBindingElement))
System\ServiceModel\Channels\TransportChannelFactory.cs (3)
177if (via.Scheme != this.Scheme) 180if (string.Compare(via.Scheme, this.Scheme, StringComparison.OrdinalIgnoreCase) != 0) 183via.Scheme, this.Scheme));
System\ServiceModel\Channels\TransportChannelListener.cs (7)
112if (context.ListenUriBaseAddress.Scheme != this.Scheme) 115if (string.Compare(context.ListenUriBaseAddress.Scheme, this.Scheme, StringComparison.OrdinalIgnoreCase) != 0) 119SR.GetString(SR.InvalidUriScheme, context.ListenUriBaseAddress.Scheme, this.Scheme)); 572if ((String.Compare(this.Uri.Scheme, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) == 0) || 573(String.Compare(this.Uri.Scheme, Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) == 0) 580else if ((String.Compare(this.Uri.Scheme, Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase) == 0) || 581(String.Compare(this.Uri.Scheme, Uri.UriSchemeNetPipe, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
136Fx.Assert(request.RequestUri.Scheme == Uri.UriSchemeHttps,
System\ServiceModel\Channels\UriPrefixTable.cs (1)
321this.SetSegment(this.uri.Scheme);
System\ServiceModel\Channels\WebSocketHelper.cs (5)
87if (Uri.UriSchemeHttp.Equals(httpUri.Scheme, StringComparison.OrdinalIgnoreCase)) 94Uri.UriSchemeHttps.Equals(httpUri.Scheme, StringComparison.OrdinalIgnoreCase), 105(WebSocketHelper.SchemeWs.Equals(uri.Scheme, StringComparison.OrdinalIgnoreCase) || 106WebSocketHelper.SchemeWss.Equals(uri.Scheme, StringComparison.OrdinalIgnoreCase)); 119switch (uri.Scheme.ToLowerInvariant())
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (2)
423return (serviceUri.Scheme == Uri.UriSchemeHttp) || (serviceUri.Scheme == Uri.UriSchemeHttps);
System\ServiceModel\Description\MetadataExchangeClient.cs (6)
64CreateChannelFactory(address.Scheme); 75CreateChannelFactory(address.Uri.Scheme); 212return address.Scheme == Uri.UriSchemeHttp || address.Scheme == Uri.UriSchemeHttps; 761if (location.Scheme != Uri.UriSchemeHttp && location.Scheme != Uri.UriSchemeHttps)
System\ServiceModel\Description\ServiceDebugBehavior.cs (4)
44if (value != null && value.IsAbsoluteUri && value.Scheme != Uri.UriSchemeHttp) 47"HttpHelpPageUrl", Uri.UriSchemeHttp, value.ToString(), value.Scheme)); 67if (value != null && value.IsAbsoluteUri && value.Scheme != Uri.UriSchemeHttps) 70"HttpsHelpPageUrl", Uri.UriSchemeHttps, value.ToString(), value.Scheme));
System\ServiceModel\Description\ServiceMetadataBehavior.cs (8)
50if (value != null && value.IsAbsoluteUri && value.Scheme != Uri.UriSchemeHttp) 53"HttpGetUrl", Uri.UriSchemeHttp, value.ToString(), value.Scheme)); 71if (value != null && value.IsAbsoluteUri && value.Scheme != Uri.UriSchemeHttps) 74"HttpsGetUrl", Uri.UriSchemeHttps, value.ToString(), value.Scheme)); 146if (value != null && value.IsAbsoluteUri && !(value.Scheme == Uri.UriSchemeHttp || value.Scheme == Uri.UriSchemeHttps)) 148throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("ExternalMetadataLocation", SR.GetString(SR.SFxBadMetadataLocationUri, value.OriginalString, value.Scheme)); 309bool isListeningOnHttps = channelDispatcher.Listener.Uri.Scheme == Uri.UriSchemeHttps;
System\ServiceModel\Description\ServiceMetadataExtension.cs (12)
218string hostUriString = string.Concat(listenUri.Scheme, "://", hostHeader); 338if (listenUri.Scheme == Uri.UriSchemeHttp) 349else if (listenUri.Scheme == Uri.UriSchemeHttps) 391if (listenUri.Scheme == Uri.UriSchemeHttp) 395else if (listenUri.Scheme == Uri.UriSchemeHttps) 774if (this.listenUri.Scheme == Uri.UriSchemeHttp) 793addressUpdater.UpdateUri(ref result, this.listenUri.Scheme != result.Scheme /*updateBaseAddressOnly*/); 965if (this.listenUri.Scheme == Uri.UriSchemeHttp) 1910: this(listenUri.Host, requestHost, removeBaseAddress, listenUri.Scheme, requestPort, updatePortsByScheme) 1987if (uri.Scheme == this.requestScheme) 1991else if (!this.updatePortsByScheme.TryGetValue(uri.Scheme, out port))
System\ServiceModel\EndpointAddress.cs (2)
360if (u1.Scheme != u2.Scheme) // Uri.Scheme is always lowercase
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (2)
597return String.Format( CultureInfo.InvariantCulture, "{0}://NormalizedHostName{1}", listenUri.Scheme, listenUri.AbsolutePath ); 601return String.Format( CultureInfo.InvariantCulture, "{0}://NormalizedHostName:{1}{2}", listenUri.Scheme, listenUri.Port, listenUri.AbsolutePath );
System\ServiceModel\Security\WSTrustServiceHost.cs (4)
113if (StringComparer.OrdinalIgnoreCase.Equals(baseAddress.Scheme, Uri.UriSchemeHttp)) 118else if (StringComparer.OrdinalIgnoreCase.Equals(baseAddress.Scheme, Uri.UriSchemeHttps)) 123else if (StringComparer.OrdinalIgnoreCase.Equals(baseAddress.Scheme, Uri.UriSchemeNetTcp)) 127else if (StringComparer.OrdinalIgnoreCase.Equals(baseAddress.Scheme, Uri.UriSchemeNetPipe))
System\ServiceModel\ServiceConfiguration.cs (1)
301if (uri.Scheme.Equals(protocol.Scheme))
System\ServiceModel\ServiceHost.cs (8)
489ProtocolMappingItem protocolMappingItem = ConfigLoader.LookupProtocolMapping(baseAddress.Scheme); 499throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new Exception(SR.GetString(SR.BindingProtocolMappingNotDefined, baseAddress.Scheme))); 645buffer.Append(address.Scheme); 650buffer.Append(CultureInfo.CurrentCulture.TextInfo.ListSeparator).Append(address.Scheme); 1003("http".Equals(serviceEndpoint.ListenUri.Scheme, StringComparison.OrdinalIgnoreCase) || "https".Equals(serviceEndpoint.ListenUri.Scheme, StringComparison.OrdinalIgnoreCase)) && 1004this.baseAddresses.Contains(serviceEndpoint.ListenUri.Scheme)) 1010AuthenticationSchemes hostSupportedAuthenticationSchemes = AspNetEnvironment.Current.GetAuthenticationSchemes(this.baseAddresses[serviceEndpoint.ListenUri.Scheme]);
System\ServiceModel\UriSchemeKeyedCollection.cs (7)
31return item.Scheme; 37if (this.Contains(item.Scheme)) 38throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("item", SR.GetString(SR.BaseAddressDuplicateScheme, item.Scheme)); 46if (this[index].Scheme != item.Scheme) 48if (this.Contains(item.Scheme)) 49throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("item", SR.GetString(SR.BaseAddressDuplicateScheme, item.Scheme));
System\UriTemplate.cs (1)
626Uri sourceUri = new Uri(String.Format(CultureInfo.InvariantCulture, "{0}://{1}", uri.Scheme, host));
System.ServiceModel.Activation (15)
System\ServiceModel\Activation\ApplyHostConfigurationBehavior.cs (1)
47if (IsSchemeHttpOrHttps(channelDispatcher.Listener.Uri.Scheme))
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (2)
357if (!object.ReferenceEquals(uri.Scheme, Uri.UriSchemeHttp) && 358!object.ReferenceEquals(uri.Scheme, Uri.UriSchemeHttps))
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (3)
771HttpHostedTransportConfiguration transportConfiguration = HostedTransportConfigurationManager.GetConfiguration(this.OriginalRequestUri.Scheme) 794object.ReferenceEquals(this.RequestUri.Scheme, Uri.UriSchemeHttp) || object.ReferenceEquals(this.RequestUri.Scheme, Uri.UriSchemeHttps),
System\ServiceModel\Activation\HostedTransportConfigurationBase.cs (1)
62if ((string.Compare(listenAddresses[i].BaseAddress.Scheme, uri.Scheme, StringComparison.OrdinalIgnoreCase) == 0)
System\ServiceModel\Activation\HttpHostedTransportConfiguration.cs (2)
134(string.Compare(manager.Scheme, uri.Scheme, StringComparison.OrdinalIgnoreCase) == 0) && 148string scheme = uri.Scheme;
System\ServiceModel\Activation\MetabaseSettings.cs (2)
168this.Bindings.Add(result.OriginalRequestUri.Scheme, new string[] { binding }); 169this.Protocols.Add(result.OriginalRequestUri.Scheme);
System\ServiceModel\ServiceHostingEnvironment.cs (4)
1150if (!schemeMappings.ContainsKey(filterUri.Scheme)) 1152schemeMappings.Add(filterUri.Scheme, filterUri); 1156throw FxTrace.Exception.AsError(new InvalidOperationException(SR.GetString(SR.BaseAddressDuplicateScheme, filterUri.Scheme))); 1162string scheme = baseUri.Scheme;
System.ServiceModel.Channels (7)
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (3)
279if (!destination.Scheme.Equals(UdpConstants.Scheme, StringComparison.OrdinalIgnoreCase)) 283throw FxTrace.Exception.AsError(new InvalidOperationException(SR.ViaUriIsNotValid(destination, SR.UriSchemeNotSupported(destination.Scheme)))); 287throw FxTrace.Exception.AsError(new InvalidOperationException(SR.ToAddressIsNotValid(destination, SR.UriSchemeNotSupported(destination.Scheme))));
System\ServiceModel\Channels\UdpChannelFactory.cs (2)
89if (!via.Scheme.Equals(UdpConstants.Scheme, StringComparison.OrdinalIgnoreCase)) 91throw FxTrace.Exception.Argument("via", SR.UriSchemeNotSupported(via.Scheme));
System\ServiceModel\Channels\UdpChannelListener.cs (2)
689if (listenUriBase.Scheme.Equals(this.Scheme, StringComparison.OrdinalIgnoreCase) == false) 691throw FxTrace.Exception.Argument("context.ListenUriBaseAddress", SR.UriSchemeNotSupported(listenUriBase.Scheme));
System.ServiceModel.Discovery (4)
System\ServiceModel\Discovery\ScopeCompiler.cs (4)
105if (string.Compare(scope.Scheme, "ldap", StringComparison.OrdinalIgnoreCase) == 0) 133if (string.Compare(scope.Scheme, "ldap", StringComparison.OrdinalIgnoreCase) != 0) 240if (string.Compare(scope.Scheme, "uuid", StringComparison.OrdinalIgnoreCase) == 0) 244else if (string.Compare(scope.Scheme, "urn", StringComparison.OrdinalIgnoreCase) == 0)
System.ServiceModel.Web (8)
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
279if (baseAddress.Scheme == "https")
System\ServiceModel\Web\AutomaticEndpointGenerator.cs (2)
50this.SetBindingConfiguration(baseAddress.Scheme, serviceEndpointElement); 54this.ConfigureBinding(serviceEndpoint.Binding, baseAddress.Scheme, supportedSchemes, AspNetEnvironment.Enabled);
System\ServiceModel\Web\WebChannelFactory.cs (3)
85if (remoteAddress == null || (remoteAddress.Scheme != Uri.UriSchemeHttp && remoteAddress.Scheme != Uri.UriSchemeHttps)) 89if (remoteAddress.Scheme == Uri.UriSchemeHttp)
System\ServiceModel\Web\WebServiceHost.cs (2)
82string uriScheme = baseAddress.Scheme; 124ProtocolMappingItem protocolMappingItem = ConfigLoader.LookupProtocolMapping(baseAddress.Scheme);
System.Web (10)
ErrorFormatter.cs (2)
790if (uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps)
UI\ClientScriptManager.cs (1)
292(String.Equals(_owner.RequestInternal.Url.Scheme, "https", StringComparison.OrdinalIgnoreCase))) ?
UI\WebControls\MenuRendererClassic.cs (1)
186(String.Equals(Menu.Page.Request.Url.Scheme, "https", StringComparison.OrdinalIgnoreCase))) {
UI\WebControls\XmlDataSource.cs (2)
450if (uri.Scheme == Uri.UriSchemeHttp) { 499if (uri.Scheme == Uri.UriSchemeHttp) {
WebSockets\WebSocketUtil.cs (4)
48if (originHeaderUri.Scheme != "http" && originHeaderUri.Scheme != "https") { 55return hostHeaderUri.Scheme == originHeaderUri.Scheme
System.Web.Services (3)
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (2)
264if (response.ResponseUri.Scheme == Uri.UriSchemeFtp || 265response.ResponseUri.Scheme == Uri.UriSchemeFile) {
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (1)
196schemeHostPort.Scheme,
System.Windows.Forms (8)
winforms\Managed\System\WinForms\Application.cs (1)
385if (exeUri.Scheme == "file") {
winforms\Managed\System\WinForms\Help.cs (4)
287switch (file.Scheme) { 346if (file != null && file.Scheme == "file") { 383if (file != null && file.Scheme == "file") { 418if (file == null || file.Scheme == "file") {
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
205if (codeBase.Scheme == "file") {
winforms\Managed\System\WinForms\TrustManager.cs (2)
696if (uri.Scheme == System.Uri.UriSchemeHttp || uri.Scheme == System.Uri.UriSchemeHttps)
System.Xml (2)
System\Xml\XmlDownloadManager.cs (1)
29if ( uri.Scheme == "file" ) {
System\Xml\XmlDownloadManagerAsync.cs (1)
22if (uri.Scheme == "file") {
WindowsBase (8)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (2)
476|| (targetUri.IsAbsoluteUri && targetUri.Scheme == PackUriHelper.UriSchemePack)) 640if (String.CompareOrdinal(target.Scheme, PackUriHelper.UriSchemePack) == 0)
Base\System\IO\Packaging\PackUriHelper.cs (4)
358if (firstPackageUri.Scheme == PackUriHelper.UriSchemePack && secondPackageUri.Scheme == PackUriHelper.UriSchemePack) 579string.Compare(uri.Scheme, UriSchemePack, StringComparison.OrdinalIgnoreCase) == 0; 740if (packUri.Scheme != PackUriHelper.UriSchemePack)
Shared\MS\Internal\ResourceIDHelper.cs (2)
56if (baseUri.Scheme == sourceUri.Scheme && baseUri.Host == sourceUri.Host)