Base:
method
ToString
System.Object.ToString()
296 references to ToString
PresentationCore (8)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginPart.cs (1)
136string original = Uri.ToString();
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (3)
95throw new WebException(requestUri.ToString(), WebExceptionStatus.RequestCanceled); 246throw new IOException(SR.Get(SRID.GetResponseFailed, requestUri.ToString())); 267throw new IOException(SR.Get(SRID.GetResponseFailed, requestUri.ToString()));
Core\CSharp\System\Windows\Media\FontEmbeddingManager.cs (2)
140return String.Equals(x.ToString(), y.ToString(), StringComparison.OrdinalIgnoreCase);
Core\CSharp\System\Windows\Media\MediaTimeline.cs (1)
265return Source.ToString();
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (1)
271string original = uri.ToString(); // only relative Uri here (enforced by Package)
PresentationFramework (41)
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (1)
220sei.lpFile = uri.ToString(); // It's safe to use Uri.ToString since there's an inheritance demand on it that prevents spoofing by subclasses.
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (2)
105throw new IOException(SR.Get(SRID.UnableToLocateResource, Uri.ToString())); 113return MS.Internal.MimeTypeMapper.GetMimeTypeFromUri(new Uri(Uri.ToString(),UriKind.RelativeOrAbsolute)).ToString();
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (2)
257PresentationAppDomainManager.ActivationUri != null ? PresentationAppDomainManager.ActivationUri.ToString() : string.Empty); 270: PresentationAppDomainManager.DebugSecurityZoneURL.ToString())});
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
1136description = source.ToString();
src\Framework\MS\Internal\AppModel\XappLauncher.cs (1)
182BrowserCallbackServices.DelegateNavigation(_deploymentManifest.ToString(), null, null);
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (4)
860supportedNamespaces.Add(name.ToString()); 869supportedNamespaces.Add(knownNamespace.ToString()); 888reader.DeclareNamespaceCompatibility(item.Key.ToString(), name.ToString());
src\Framework\System\Windows\Controls\Frame.cs (1)
743return Source.ToString();
src\Framework\System\Windows\Data\XmlDataProvider.cs (1)
577TraceData.Identify(request.RequestUri.ToString())));
src\Framework\System\Windows\Documents\DocumentReference.cs (2)
166oldSource == null ? "null" : oldSource.ToString(), 167newSource == null? "null" : newSource.ToString()));
src\Framework\System\Windows\Documents\FixedPage.cs (4)
675String inputUriString = inputUri.ToString(); 696StringBuilder absoluteUriString = new StringBuilder(absoluteUri.ToString()); 1128String startPartUriString = startPartUri.ToString(); 1140fixedPage.StartPartUriString = startPartUri.ToString();
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (4)
1506|| navUri != _currentNavUri || (navUri != null && navUri.ToString() != _currentNavUri.ToString()); 1761if (navUri != _currentNavUri || (navUri != null && navUri.ToString() != _currentNavUri.ToString()))
src\Framework\System\Windows\Documents\Speller.cs (3)
414System.Diagnostics.Trace.Write(string.Format(CultureInfo.InvariantCulture, "Unloading dictionary failed. Original Uri:{0}, file Uri:{1}, exception:{2}", uri.ToString(), info.PathUri.ToString(), e.ToString())); 1715System.Diagnostics.Trace.Write(string.Format(CultureInfo.InvariantCulture, "Failure to delete temporary file with custom dictionary data. file Uri:{0},exception:{1}", tempLocationUri.ToString(), e.ToString()));
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
1396_deploymentManifest.ToString() + "#"
src\Framework\System\Windows\Markup\XamlReader.cs (4)
246String.IsNullOrEmpty(parserContext.BaseUri.ToString())) 389if (parserContext.BaseUri != null && !String.IsNullOrEmpty(parserContext.BaseUri.ToString())) 804String.IsNullOrEmpty(parserContext.BaseUri.ToString())) 877if (parserContext.BaseUri != null && !String.IsNullOrEmpty(parserContext.BaseUri.ToString()))
src\Framework\System\Windows\Navigation\JournalEntry.cs (3)
368return uri.ToString(); 379displayName = (new Uri(siteOfOrigin, relative)).ToString(); 398displayName = uri.ToString();
src\Framework\System\Windows\Navigation\NavigationService.cs (5)
598this.Application.BrowserCallbackServices.UpdateAddressBar(source.ToString()); 1694source != null ? "\"" + source.ToString() + "\"" : "(null)"); 2871throw new Exception(SR.Get(SRID.GetResponseFailed, requestUri.ToString())); 3145throw new Exception(SR.Get(SRID.GetStreamFailed, requestUri.ToString())); 3255destinationUri.ToString());
src\Framework\System\Windows\ResourceDictionary.cs (2)
146throw new ArgumentException(SR.Get(SRID.ResourceDictionaryLoadFromFailure, value == null ? "''" : value.ToString())); 233throw new InvalidOperationException(SR.Get(SRID.ResourceDictionaryLoadFromFailure, _source.ToString()));
SMSvcHost (6)
System\ServiceModel\Activation\MessageQueue.cs (1)
208(session.Via != null) ? session.Via.ToString() : string.Empty,
System\ServiceModel\Activation\RoutingTable.cs (2)
122ListenerTraceUtility.TraceEvent(TraceEventType.Information, ListenerTraceCode.RoutingTableLookup, SR.GetString(SR.TraceCodeRoutingTableLookup), new StringTraceRecord("Uri", uri.ToString()), null, null); 125Debug.Print("RoutingTable.Lookup(" + uri + ") matched: " + (found == null ? "<NoMatch!>" : found.Uri.ToString()));
System\ServiceModel\Activation\SharingService.cs (1)
144TD.ServiceStartPipeError((formattedUri != null) ? formattedUri.ToString() : string.Empty);
System\ServiceModel\Activation\TransportListener.cs (2)
238TD.TransportListenerSessionsReceived(session.EventTraceActivity, session.Via.ToString()); 244Debug.Print("TransportListener.OnDupHandle() via: " + session.Via.ToString() + " transportType: " + transportType);
System (23)
compmod\microsoft\win32\SystemEvents.cs (1)
1266executablePath = codeBase.ToString();
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (3)
202Debug.WriteLineIf(RuntimeLicenseContextSwitch.TraceVerbose,"licenseFile: " + licenseFile.ToString()); 203Debug.WriteLineIf(RuntimeLicenseContextSwitch.TraceVerbose,"opening licenses file over URI " + licenseFile.ToString()); 256result = webClient.OpenRead(resourceUri.ToString());
net\System\Net\_AutoWebProxyScriptWrapper.cs (2)
854GlobalLog.Print("AutoWebProxyScriptWrapper::Compile() Compilation succeeded for engineScriptLocation:" + engineScriptLocation.ToString()); 859GlobalLog.Print("AutoWebProxyScriptWrapper::Compile() Compilation failed for engineScriptLocation:" + engineScriptLocation.ToString());
net\System\Net\_BasicClient.cs (1)
86GlobalLog.Print("BasicClient::Lookup(): ChallengedUri:" + httpWebRequest.ChallengedUri.ToString());
net\System\Net\cookie.cs (1)
783result += SeparatorLiteral + CommentUrlAttributeName + EqualsLiteral + QuotesLiteral + m_commentUri.ToString() + QuotesLiteral;
net\System\Net\CredentialCache.cs (3)
483UriPrefixLength = UriPrefix.ToString().Length; 499GlobalLog.Print("CredentialKey::Match(" + UriPrefix.ToString() + " & " + uri.ToString() + ")");
net\System\Net\FtpWebRequest.cs (1)
519if (Logging.On) Logging.PrintInfo(Logging.Web, this, ".ctor", uri.ToString());
net\System\Net\HttpWebRequest.cs (2)
5148GlobalLog.Print("HttpWebRequest#" + ValidationHelper.HashString(this) + "::.ctor(" + uri.ToString() + ")"); 5791Debug.Assert(hostUriSuccess, "Can't rebuild HostUri from redirected URI: {0}", _Uri.ToString());
net\System\Net\NetWebProxyFinder.cs (1)
63string proxyListString = scriptInstance.FindProxyForURL(destination.ToString(), destination.Host);
net\System\Net\ServicePointManager.cs (2)
688GlobalLog.Enter("ServicePointManager::FindServicePoint() address:" + address.ToString()); 768GlobalLog.Enter("ServicePointManager::FindServicePointHelper() address:" + address.ToString());
net\System\Net\webclient.cs (1)
157return (m_baseAddress == null) ? String.Empty : m_baseAddress.ToString();
net\System\Net\WebRequest.cs (1)
118if(Logging.On)Logging.Enter(Logging.Web, "WebRequest", "Create", requestUri.ToString());
net\System\Net\WinHttpWebProxyFinder.cs (3)
177autoProxyOptions.AutoConfigUrl = scriptLocation.ToString(); 181if (!WinHttpGetProxyForUrl(destination.ToString(), ref autoProxyOptions, out proxyListString)) 196if (!WinHttpGetProxyForUrl(destination.ToString(), ref autoProxyOptions,
net\System\URI.cs (1)
5321return toUri.ToString();
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\XmlPropertyBag.cs (1)
298return ((Uri)value).ToString();
System.Data.Services.Client (3)
System\Data\Services\Client\ClientConvert.cs (1)
349return ((Uri)propertyValue).ToString();
System\Data\Services\Client\DataServiceQueryContinuation.cs (1)
80return this.NextLinkUri.ToString();
System\Data\Services\Client\DataServiceRequest.cs (1)
62return this.QueryComponents.Uri.ToString();
System.Data.SqlXml (11)
System\Xml\Xsl\Runtime\XmlQueryContext.cs (1)
159XmlReader reader = readerSettings.CreateReader(stream, uriResolved != null ? uriResolved.ToString() : null);
System\Xml\Xsl\Xslt\XsltLoader.cs (5)
181return readerSettings.CreateReader(stream, uri.ToString()); 194throw new XslLoadException(Res.Xslt_CannotLoadStylesheet, uri.ToString(), input == null ? "null" : input.GetType().ToString()); 402if (documentUriInUse.Contains(uri.ToString())) { 426if (documentUriInUse.Contains(uri.ToString())) { 1209asmLocation = Assembly.LoadFrom(ResolveUri(href, input.BaseUri).ToString()).Location;
System\Xml\Xsl\XsltOld\Compiler.cs (1)
521string resolved = absoluteUri.ToString();
System\Xml\Xsl\XsltOld\ContainerAction.cs (2)
208string resolved = uri.ToString(); 439string resolved = uri.ToString();
System\Xml\Xsl\XsltOld\Processor.cs (2)
169XmlTextReaderImpl tr = new XmlTextReaderImpl(ruri.ToString(), (Stream) input); { 179throw XsltException.Create(Res.Xslt_CantResolve, ruri.ToString());
System.IdentityModel (13)
System\IdentityModel\Claims\ClaimsConversionHelper.cs (1)
192_value = ((Uri)claim.Resource).ToString();
System\IdentityModel\Metadata\MetadataSerializer.cs (9)
2064writer.WriteAttributeString(Saml2MetadataConstants.Attributes.Binding, null, (endpoint.Binding.IsAbsoluteUri ? endpoint.Binding.AbsoluteUri : endpoint.Binding.ToString())); 2071writer.WriteAttributeString(Saml2MetadataConstants.Attributes.Location, null, (endpoint.Location.IsAbsoluteUri ? endpoint.Location.AbsoluteUri : endpoint.Location.ToString())); 2075writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ResponseLocation, null, (endpoint.ResponseLocation.IsAbsoluteUri ? endpoint.ResponseLocation.AbsoluteUri : endpoint.ResponseLocation.ToString())); 2419writer.WriteAttributeString(Saml2MetadataConstants.Attributes.Binding, null, (indexedEP.Binding.IsAbsoluteUri ? indexedEP.Binding.AbsoluteUri : indexedEP.Binding.ToString())); 2426writer.WriteAttributeString(Saml2MetadataConstants.Attributes.Location, null, (indexedEP.Location.IsAbsoluteUri ? indexedEP.Location.AbsoluteUri : indexedEP.Location.ToString())); 2437writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ResponseLocation, null, (indexedEP.ResponseLocation.IsAbsoluteUri ? indexedEP.ResponseLocation.AbsoluteUri : indexedEP.ResponseLocation.ToString())); 2582writer.WriteString(uri.Uri.IsAbsoluteUri ? uri.Uri.AbsoluteUri : uri.Uri.ToString()); 2773writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ErrorUrl, null, (roleDescriptor.ErrorUrl.IsAbsoluteUri ? roleDescriptor.ErrorUrl.AbsoluteUri : roleDescriptor.ErrorUrl.ToString())); 2785sb.AppendFormat("{0} ", (protocol.IsAbsoluteUri ? protocol.AbsoluteUri : protocol.ToString()));
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (3)
2432if (string.IsNullOrEmpty(data.Namespace.ToString())) 3981writer.WriteAttributeString(Saml2Constants.Attributes.Resource, data.Resource.Equals(Saml2AuthorizationDecisionStatement.EmptyResource) ? data.Resource.ToString() : data.Resource.AbsoluteUri); 5195if (string.IsNullOrEmpty(data.Method.ToString()))
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\InternalPolicyElement.cs (1)
84m_nativeElement.policyNoticeLink = null != m_element.PolicyNoticeLink ? m_element.PolicyNoticeLink.ToString() : null;
System.Runtime.Remoting (1)
metadata\wsdlparser.cs (1)
737location = uri.ToString();
System.Runtime.Serialization (1)
System\Runtime\Serialization\DataContract.cs (1)
1780if (uri.ToString() == Globals.SerializationNamespace)
System.ServiceModel (98)
System\ServiceModel\Administration\EndpointInstanceProvider.cs (6)
23return EndpointReference(null != uri ? uri.ToString() : String.Empty, contractName, true); 106instance.SetProperty(AdministrationStrings.Address, endpoint.Address == null ? String.Empty : endpoint.Address.ToString()); 107instance.SetProperty(AdministrationStrings.ListenUri, endpoint.ListenUri == null ? String.Empty : endpoint.ListenUri.ToString()); 426instance.SetProperty(AdministrationStrings.Url, specificElement.Url.ToString()); 522instance.SetProperty(AdministrationStrings.Uri, ((ClientViaBehavior)behavior).Uri.ToString()); 649if (null != endpointInfo.ListenUri && String.Equals(endpointInfo.ListenUri.ToString(), address, StringComparison.OrdinalIgnoreCase)
System\ServiceModel\Administration\ServiceInfo.cs (2)
50address = this.Service.BaseAddresses[0].ToString(); 57address = addressUri.ToString();
System\ServiceModel\Administration\ServiceInstanceProvider.cs (5)
285instance.SetProperty(AdministrationStrings.HttpHelpPageUrl, specificBehavior.HttpHelpPageUrl.ToString()); 290instance.SetProperty(AdministrationStrings.HttpsHelpPageUrl, specificBehavior.HttpsHelpPageUrl.ToString()); 301instance.SetProperty(AdministrationStrings.ExternalMetadataLocation, metadataBehavior.ExternalMetadataLocation.ToString()); 306instance.SetProperty(AdministrationStrings.HttpGetUrl, metadataBehavior.HttpGetUrl.ToString()); 311instance.SetProperty(AdministrationStrings.HttpsGetUrl, metadataBehavior.HttpsGetUrl.ToString());
System\ServiceModel\Channels\BaseUriWithWildcard.cs (1)
311this.comparand.Address = this.baseAddress.ToString();
System\ServiceModel\Channels\ConnectionDemuxer.cs (1)
434TD.SessionPreambleUnderstood((serverSessionPreambleReader.Via != null) ? serverSessionPreambleReader.Via.ToString() : String.Empty);
System\ServiceModel\Channels\ConnectionOrientedTransportManager.cs (1)
189throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new EndpointNotFoundException(SR.GetString(SR.DuplexSessionListenerNotFound, via.ToString())));
System\ServiceModel\Channels\ContextBindingElement.cs (1)
320callingBehavior.GetType().Name, endpoint.Name, endpoint.ListenUri.ToString())));
System\ServiceModel\Channels\ExclusiveNamedPipeTransportManager.cs (1)
36connectionListener = new TracingConnectionListener(connectionListener, this.ListenUri.ToString(), false);
System\ServiceModel\Channels\ExclusiveTcpTransportManager.cs (1)
97connectionListener = new TracingConnectionListener(connectionListener, this.registration.ListenUri.ToString(), false);
System\ServiceModel\Channels\FramingChannels.cs (2)
970FaultStringDecoder.GetFaultException(decoder.Fault, via.ToString(), contentType)); 1135FaultStringDecoder.GetFaultException(decoder.Fault, via.ToString(), contentType));
System\ServiceModel\Channels\HttpChannelFactory.cs (2)
598TraceUtility.TraceEvent(TraceEventType.Verbose, TraceCode.HttpResponseReceived, SR.GetString(SR.TraceCodeHttpResponseReceived), new StringTraceRecord("ResponseUri", response.ResponseUri.ToString()), receiver, null, message); 1096ServiceModelActivity.Start(this.activity, SR.GetString(SR.ActivityReceiveBytes, this.RemoteAddress.Uri.ToString()), ActivityType.ReceiveBytes);
System\ServiceModel\Channels\HttpTransportManager.cs (1)
123ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityReceiveBytes, requestUri.ToString()), ActivityType.ReceiveBytes);
System\ServiceModel\Channels\MsmqDiagnostics.cs (3)
58ServiceModelActivity.Start(activity, SR.GetString(SR.ActivityListenAt, receiver.ListenUri.ToString()), ActivityType.ListenAt); 70SR.GetString(SR.TraceCodeTransportListen, receiver.ListenUri.ToString()), 197{ "Uri", uri.ToString() },
System\ServiceModel\Channels\MsmqReceiveHelper.cs (1)
69this.instanceId = uri.ToString().ToUpperInvariant();
System\ServiceModel\Channels\PeerHelpers.cs (2)
962return new PeerDictionaryHeader(XD.PeerWireStringsDictionary.PeerVia, XD.PeerWireStringsDictionary.Namespace, via.ToString()); 972return new PeerDictionaryHeader(XD.PeerWireStringsDictionary.PeerTo, XD.PeerWireStringsDictionary.Namespace, to.ToString());
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
908remoteUri = opContext.IncomingMessageProperties.Via.ToString();
System\ServiceModel\Channels\PipeConnection.cs (2)
1781new StringTraceRecord("Uri", remoteUri.ToString()), this, null); 2222TD.PipeConnectionAcceptStart(this.eventTraceActivity, this.listener.pipeUri != null ? this.listener.pipeUri.ToString() : string.Empty);
System\ServiceModel\Channels\PrivacyNoticeBindingElement.cs (1)
95assertion.InnerText = settings.Url.ToString();
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (1)
1778this.perfCounterId = this.listener.Uri.ToString().ToUpperInvariant();
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (1)
49this.perfCounterId = this.listener.Uri.ToString().ToUpperInvariant();
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (1)
70this.perfCounterId = this.listener.Uri.ToString().ToUpperInvariant();
System\ServiceModel\Channels\ServiceChannel.cs (1)
1837values["Uri"] = this.endpointDispatcher.ListenUri.ToString();
System\ServiceModel\Channels\SessionConnectionReader.cs (1)
1582throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(FaultStringDecoder.GetFaultException(decoder.Fault, channel.RemoteAddress.Uri.ToString(), messageEncoder.ContentType));
System\ServiceModel\Channels\SharedConnectionListener.cs (3)
757TD.PortSharingDuplicatedSocket(eventTraceActivity, (duplicateContext.Via != null) ? duplicateContext.Via.ToString() : string.Empty); 1112message = SR.GetString(SR.SharedEndpointReadNotFound, this.baseAddress.BaseAddress.ToString(), 1117message = SR.GetString(SR.SharedEndpointReadDenied, this.baseAddress.BaseAddress.ToString());
System\ServiceModel\Channels\SocketConnection.cs (2)
1687new StringTraceRecord("Uri", uri.ToString()), this, null); 1757new StringTraceRecord("Uri", uri.ToString()), this, null);
System\ServiceModel\Channels\TracingConnection.cs (1)
109ServiceModelActivity.Start(this.activity, SR.GetString(SR.ActivityReceiveBytes, uri.ToString()), ActivityType.ReceiveBytes);
System\ServiceModel\Channels\TracingConnectionListener.cs (1)
24: this(listener, uri.ToString())
System\ServiceModel\Channels\TransportManager.cs (2)
116ServiceModelActivity.Start(this.Activity, SR.GetString(SR.ActivityListenAt, channelListener.Uri.ToString()), ActivityType.ListenAt); 126SR.GetString(SR.TraceCodeTransportListen, channelListener.Uri.ToString()), this);
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (1)
94endpointElement.Address.ToString(), endpointElement.BindingConfiguration, endpointElement.BindingName, endpointElement.BindingNamespace,
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (2)
373this.from.ToString(), 527this.from.ToString(),
System\ServiceModel\ComIntegration\ComPlusInstanceProvider.cs (1)
107from == null ? string.Empty : from.ToString(),
System\ServiceModel\ComIntegration\ComPlusThreadInitializer.cs (2)
174from.ToString(), 234from == null ? string.Empty : from.ToString(),
System\ServiceModel\Configuration\FederatedMessageSecurityOverHttpElement.cs (1)
160this.Issuer.BindingConfiguration = this.Issuer.Address.ToString();
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (2)
246this.Issuer.BindingConfiguration = this.Issuer.Address.ToString(); 275element.Issuer.BindingConfiguration = element.Issuer.Address.ToString();
System\ServiceModel\Configuration\ServiceEndpointElementCollection.cs (1)
40(configElementKey.Address == null) ? null : configElementKey.Address.ToString().ToUpperInvariant(),
System\ServiceModel\Description\ConfigLoader.cs (1)
1371values["RemoteEndpointUri"] = retval.Address.ToString();
System\ServiceModel\Description\DispatcherBuilder.cs (2)
568string baseAddressString = baseAddress.ToString(); 569string thisAddressString = listenUri.ToString();
System\ServiceModel\Description\MetadataExchangeClient.cs (7)
455address.ToString(), MetadataExchangeClientMode.HttpGet.ToString()); 763throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("location", SR.GetString(SR.SFxCannotGetMetadataFromLocation, location.ToString())); 870get { return this.responseLocation.ToString(); } 943section = MetadataRetriever.CreateMetadataSection(reader, request.Address.ToString()); 985get { return this.address.Uri.ToString(); } 1180((IClientChannel)metadataClient).RemoteAddress.Uri.ToString()))); 1186section = MetadataRetriever.CreateMetadataSection(reader, ((IClientChannel)metadataClient).RemoteAddress.Uri.ToString());
System\ServiceModel\Description\ServiceDebugBehavior.cs (3)
47"HttpHelpPageUrl", Uri.UriSchemeHttp, value.ToString(), value.Scheme)); 70"HttpsHelpPageUrl", Uri.UriSchemeHttps, value.ToString(), value.Scheme)); 233{ urlProperty, (address == null) ? string.Empty : address.ToString() }
System\ServiceModel\Description\ServiceMetadataBehavior.cs (3)
53"HttpGetUrl", Uri.UriSchemeHttp, value.ToString(), value.Scheme)); 74"HttpsGetUrl", Uri.UriSchemeHttps, value.ToString(), value.Scheme)); 465if (this.behavior.ExternalMetadataLocation == null || this.behavior.ExternalMetadataLocation.ToString() == string.Empty)
System\ServiceModel\Description\ServiceMetadataExtension.cs (9)
482result = new LocationUpdatingWriter(BaseAddressPattern, listenUri.ToString()); 578return location.ToString(); 715return result.ToString(); 795return result.ToString(); 810return result.ToString(); 962string wsdlUrl = wsdlUrlBase.ToString() + "?" + WsdlQueryString; 984return new DiscoMessage(wsdlUrl, docUrl.ToString()); 1912this.newBaseAddress = UpdateUri(listenUri).ToString(); 1957text = newUri.ToString();
System\ServiceModel\Description\WsdlExporter.cs (1)
1214endpointIdentifier = endpoint.Address.Uri.ToString();
System\ServiceModel\Diagnostics\HttpListenerRequestTraceRecord.cs (1)
30writer.WriteElementString("Url", this.request.Url.ToString());
System\ServiceModel\Diagnostics\MessageTraceRecord.cs (1)
79xml.WriteElementString("Via", message.Properties.Via.ToString());
System\ServiceModel\Diagnostics\MessageTransmitTraceRecord.cs (1)
69xml.WriteElementString(this.addressElementName, this.address.ToString());
System\ServiceModel\Diagnostics\PeerNodeTraceRecord.cs (2)
295writer.WriteElementString("Via", via.ToString()); 324writer.WriteElementString("MessageSource", from.ToString());
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (2)
652xml.WriteElementString("ListenAddress", this.listenAddress.ToString()); 773xml.WriteElementString("ListenAddress", this.listenAddress.ToString());
System\ServiceModel\Diagnostics\ServiceConfigurationTraceRecord.cs (2)
57this.WriteElementString("Address", serviceEndpoint.Address.ToString(), xml); 66xml.WriteElementString("ListenUri", serviceEndpoint.ListenUri.ToString());
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
799(this.Listener != null) ? this.Listener.Uri.ToString() : string.Empty,
System\ServiceModel\Dispatcher\XPathMessageContext.cs (1)
726return to.ToString();
System\ServiceModel\EndpointAddress.cs (1)
1003return uri.ToString();
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (1)
1245WriteElement(writer, Atom10Constants.LogoTag, feed.ImageUrl.ToString());
System\ServiceModel\Syndication\FeedUtils.cs (1)
129return uri.ToString();
System.ServiceModel.Activation (5)
System\ServiceModel\Activation\ApplyHostConfigurationBehavior.cs (1)
115throw FxTrace.Exception.AsError(new InvalidOperationException(SR.Hosting_SharedEndpointRequiresRelativeEndpoint(uri.ToString())));
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (1)
225throw FxTrace.Exception.AsError(new InvalidOperationException(SR.Hosting_TransportBindingNotFound(listenUri.ToString())));
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (1)
783InvalidOperationException invalidOpException = new InvalidOperationException(SR.Hosting_TransportBindingNotFound(OriginalRequestUri.ToString()));
System\ServiceModel\Activation\HostedHttpTransportManager.cs (2)
165new EndpointNotFoundException(SR.Hosting_ListenerNotFoundForActivationInRecycling(result.RequestUri.ToString()))); 170new EndpointNotFoundException(SR.Hosting_ListenerNotFoundForActivation(result.RequestUri.ToString())));
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
366TD.ServiceEndpointAdded(address.Uri.ToString(), binding.GetType().ToString(), serviceEndpoint.Contract.Name);
System.ServiceModel.Discovery (15)
System\ServiceModel\Discovery\Configuration\AnnouncementChannelEndpointElementCollection.cs (1)
28string address = channelEndpointElement.Address == null ? "" : channelEndpointElement.Address.ToString().ToUpperInvariant();
System\ServiceModel\Discovery\Configuration\ConfigurationUtility.cs (2)
29if (!(channelEndpointElement.Address == null || String.IsNullOrEmpty(channelEndpointElement.Address.ToString()))) 38if (!(serviceEndpointElement.Address == null || String.IsNullOrEmpty(serviceEndpointElement.Address.ToString())))
System\ServiceModel\Discovery\DiscoveryClientChannelBase.cs (6)
219GetVia(innerChannel).ToString()); 408TD.InnerChannelCreationFailed(to.ToString(), via.ToString(), exception); 412TD.InnerChannelOpenFailed(to.ToString(), via.ToString(), exception); 509GetVia(this.innerChannel).ToString()); 586GetVia(thisPtr.innerChannel).ToString(), 623TD.InnerChannelCreationFailed(address.ToString(), listenUri.ToString(), exception);
System\ServiceModel\Discovery\EndpointDiscoveryMetadata.cs (2)
219TD.EndpointDiscoverabilityDisabled(endpoint.Address.ToString(), listenUri.ToString()); 226TD.EndpointDiscoverabilityEnabled(endpoint.Address.ToString(), listenUri.ToString());
System\ServiceModel\Discovery\ScopeCompiler.cs (4)
126throw FxTrace.Exception.AsError(new FormatException(SR2.DiscoveryFormatInvalidScopeUuidUri(scope.ToString()))); 135throw FxTrace.Exception.AsError(new FormatException(SR2.DiscoveryFormatInvalidScopeLdapUri(scope.ToString()))); 246string scopeString = scope.ToString(); 275return "strcmp0match::" + scope.ToString();
System.ServiceModel.Routing (3)
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (1)
55TD.RoutingServiceProcessingMessage(messageRpc.EventTraceActivity, messageRpc.UniqueID, messageRpc.Message.Headers.Action, messageRpc.OperationContext.EndpointDispatcher.EndpointAddress.Uri.ToString(), (messageRpc.Transaction != null).ToString());
System\ServiceModel\Routing\ProcessRequestAsyncResult.cs (1)
36message.Headers.Action, this.messageRpc.OperationContext.EndpointDispatcher.EndpointAddress.Uri.ToString(), messageRpc.Transaction != null ? "True" : "False");
System\ServiceModel\Routing\RoutingEndpointTrait.cs (1)
76return this.Endpoint.Name + ";" + this.Endpoint.Binding.Name + ";" + this.Endpoint.Address.Uri.ToString();
System.ServiceModel.Web (2)
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (1)
424return result.ToString();
System\ServiceModel\Web\OutgoingWebResponseContext.cs (1)
217this.Location = locationUri.ToString();
System.Web (5)
ErrorFormatter.cs (1)
767return (new Uri(server + virtualPath)).ToString();
HttpRuntime.cs (2)
2593askedPermission = new WebPermission(NetworkAccess.Connect, uri.ToString()); 3327return uri.ToString();
Security\PassportAuthenticationModule.cs (2)
183String strUrl = context.Request.Url.ToString(); 211String strUrl = context.Request.Url.ToString();
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
2007Url = HttpContext.Current.Request.Url.ToString();
System.Web.Mobile (5)
UI\MobileControls\Adapters\HtmlPageAdapter.cs (1)
153return Page.Request.Url.ToString();
UI\MobileControls\Adapters\WmlPageAdapter.cs (2)
225wmlWriter.BeginFile(Page.Request.Url.ToString(), _contentType, Page.Response.Charset); 344writer.BeginFile(Page.Request.Url.ToString(), _contentType, Page.Response.Charset);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicPageAdapter.cs (1)
376writer.BeginFile (Page.Request.Url.ToString (), Page.Device.PreferredRenderingMime, Page.Response.Charset);
UI\MobileControls\Design\Util\FileReader.cs (1)
49+ uri.ToString() + ":\r\n" + e.ToString());
System.Web.Services (2)
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (1)
261url = response.ResponseUri.ToString();
System\Web\Services\Protocols\ClientProtocol.cs (1)
174get { return uri == null ? string.Empty : uri.ToString(); }
System.Windows.Forms (10)
winforms\Managed\System\WinForms\Application.cs (1)
380executablePath = codeBase.ToString();
winforms\Managed\System\WinForms\Help.cs (3)
308file = new Uri(file.ToString() + "#" + (string)param); 322Debug.WriteLineIf(Help.WindowsFormsHelpTrace.TraceVerbose, "\tExecuting '" + file.ToString() + "'"); 323UnsafeNativeMethods.ShellExecute_NoBFM(handle, null, file.ToString(), null, null, NativeMethods.SW_NORMAL);
winforms\Managed\System\WinForms\HtmlHistory.cs (1)
100Go(url.ToString());
winforms\Managed\System\WinForms\HtmlWindow.cs (3)
335this.NativeHtmlWindow.Navigate(url.ToString()); 374return Open(url.ToString(), target, windowOptions, replaceEntry); 399return OpenNew(url.ToString(), windowOptions);
winforms\Managed\System\WinForms\PictureBox.cs (1)
595uriImageStream = wc.OpenRead(uri.ToString());
winforms\Managed\System\WinForms\WebBrowser.cs (1)
634if (value != null && value.ToString() == "")
System.Workflow.Activities (4)
Designers\InvokeWebServiceDesigner.cs (3)
103this.url = (uri != null) ? uri.ToString() : string.Empty; 163this.url = (uri != null) ? uri.ToString() : string.Empty; 233returnVal = (url != null) ? url.ToString() : string.Empty;
Designers\StateDesigner.cs (1)
2733string relativePath = Uri.UnescapeDataString(uri.MakeRelativeUri(new Uri(pathTo)).ToString());
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerHelpers.cs (1)
1464string relativePath = Uri.UnescapeDataString(uri.MakeRelativeUri(new Uri(pathTo)).ToString());
System.WorkflowServices (1)
System\Workflow\Runtime\Hosting\ChannelManager.cs (1)
191IChannel channel = ChannelManagerHelpers.CreateChannel(factory.ContractType, factory.ChannelFactory, (via == defaultViaUri) ? null : via.ToString());
System.Xml (32)
System\Xml\Core\XmlReaderSettings.cs (1)
418baseUriString = baseUri.ToString();
System\Xml\Core\XmlTextReaderImpl.cs (7)
612ps.baseUriStr = ps.baseUri.ToString(); 626string baseUriStr = baseUri.ToString(); 2591InitStreamInput( baseUri, baseUri.ToString(), stream, null, 0, encoding ); 2604Debug.Assert( baseUri == null || ( baseUri.ToString().Equals( baseUriStr ) ) ); 2826ps.baseUriStr = ps.baseUri.ToString(); 7137Throw( new XmlException( entityName == null ? Res.Xml_ErrorOpeningExternalDtd : Res.Xml_ErrorOpeningExternalEntity, new string[] { uri.ToString(), innerMessage }, e, 0, 0 ) ); 7164InitTextReaderInput( uri.ToString(), uri, textReader );
System\Xml\Core\XmlTextReaderImplAsync.cs (4)
818return InitStreamInputAsync( baseUri, baseUri.ToString(), stream, null, 0, encoding ); 830Debug.Assert( baseUri == null || ( baseUri.ToString().Equals( baseUriStr ) ) ); 4778Throw( new XmlException( entityName == null ? Res.Xml_ErrorOpeningExternalDtd : Res.Xml_ErrorOpeningExternalEntity, new string[] { uri.ToString(), innerMessage }, e, 0, 0 ) ); 4808await InitTextReaderInputAsync( uri.ToString(), uri, textReader ).ConfigureAwait(false);
System\Xml\Resolvers\XmlPreloadedResolver.cs (1)
210throw new XmlException(Res.GetString(Res.Xml_CannotResolveUrl, absoluteUri.ToString()));
System\Xml\Resolvers\XmlPreloadedResolverAsync.cs (1)
34throw new XmlException(Res.GetString(Res.Xml_CannotResolveUrl, absoluteUri.ToString()));
System\Xml\Schema\DtdParser.cs (7)
277documentBaseUri = baseUri.ToString(); 326documentBaseUri = baseUriOb.ToString(); 495externalDtdBaseUri = baseUri.ToString(); 3258return ( tmp != null ) ? tmp.ToString() : string.Empty; 3274readerAdapter.Throw( new XmlException( res, arg, (int)LineNo, (int)LinePos, baseUri == null ? null : baseUri.ToString() ) ); 3279readerAdapter.Throw( new XmlException( res, args, (int)LineNo, (int)LinePos, baseUri == null ? null : baseUri.ToString() ) ); 3284readerAdapter.Throw( new XmlException( res, arg, (int)lineNo, (int)linePos, baseUri == null ? null : baseUri.ToString() ) );
System\Xml\Schema\DtdParserAsync.cs (1)
140externalDtdBaseUri = baseUri.ToString();
System\Xml\Schema\Preprocessor.cs (2)
322reader = XmlReader.Create((Stream)obj, readerSettings, ruri.ToString() ); 330reader = XmlReader.Create((TextReader)obj, readerSettings, ruri.ToString() );
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
197XmlTextReader reader = new XmlTextReader(ruri.ToString(), stream, NameTable);
System\Xml\Schema\XdrBuilder.cs (1)
494reader = new XmlTextReader(ruri.ToString(), stm, _NameTable);
System\Xml\Schema\XdrValidator.cs (1)
284reader = new XmlTextReader(ruri.ToString(), stm, NameTable);
System\Xml\Schema\XmlSchemaValidator.cs (3)
268sourceUriString = sourceUri.ToString(); 319SendValidationEvent(Res.Sch_CannotLoadSchema, new string[] {schema.BaseUri.ToString(), e.Message},e); 1556Reader = XmlReader.Create(stm, readerSettings, ruri.ToString());
System\Xml\Schema\XsdValidator.cs (1)
484reader = new XmlTextReader(ruri.ToString(), stm, NameTable);
System\Xml\XmlXapResolver.cs (1)
23throw new XmlException(Res.Xml_XapResolverCannotOpenUri, absoluteUri.ToString(), default(Exception), null);
WindowsBase (2)
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (1)
658relationshipPartString = PackageRelationship.ContainerRelationshipPartName.ToString();
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (1)
125referralInfoUriStr = referralInfoUri.ToString();