306 references to Uri
PresentationBuildTasks (2)
Framework\System\Windows\Markup\ParserContext.cs (1)
483Uri sameUri = new Uri(serializedSafe);
Shared\MS\Internal\ResourceIDHelper.cs (1)
24Uri baseUri = new Uri("http://foo/");
PresentationCore (20)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (2)
62siteOfOrigin = BaseUriHelper.FixFileUri(new Uri(System.AppDomain.CurrentDomain.BaseDirectory)); 322return new Uri(new Uri(codeBase), new Uri(".", UriKind.Relative));
Core\CSharp\MS\Internal\FontCache\DWriteFactory.cs (1)
111return DWriteFactory.Instance.GetFontCollection(new Uri(localPath));
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
216Uri criticalSxSFontsLocation = new Uri(FamilyCollection.SxSFontsLocation);
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (5)
670fontSourceUri = new Uri(fontUri.GetComponents(Util.UriWithoutFragment, UriFormat.SafeUnescaped)); 683return new Uri(fontUri); 687string canonicalPathUri = new Uri(fontUri).GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped); 689return new Uri(canonicalPathUri + '#' + faceIndexString); 1062throw new FileFormatException(new Uri(fileName));
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
47return new FontSource(new Uri(uriString), false);
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
53return new FontSourceCollection(new Uri(uriString), false);
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (1)
81uri = new Uri(uri.GetLeftPart(UriPartial.Path));
Core\CSharp\System\Windows\Media\ColorContext.cs (1)
683profilePath = new Uri(Path.Combine(buffer.ToString(), profilePathString));
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
116Uri typefaceSource = new Uri(uriPath);
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (4)
46private static readonly Uri _siteOfOriginBaseUri = PackUriHelper.Create(new Uri(SOOBASE)); 48private static readonly Uri _packAppBaseUri = PackUriHelper.Create(new Uri(APPBASE)); 398return (new Uri(sUri.GetComponents(UriComponents.SchemeAndServer, UriFormat.UriEscaped))).MakeRelativeUri(sUri); 432return new Uri(uri.AbsoluteUri);
Shared\MS\Internal\MimeTypeMapper.cs (1)
31uri = new Uri("http://foo/bar/");
Shared\MS\Internal\SecurityHelper.cs (1)
416appBase = new Uri(domain.BaseDirectory);
PresentationFramework (22)
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (1)
139entryLocation = new Uri(Application.ResourceAssembly.CodeBase);
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (1)
262fwlinkUri = new Uri(fwlink);
src\Framework\MS\Internal\Controls\WebBrowserEvent.cs (3)
108Uri source = String.IsNullOrEmpty(urlString) ? null : new Uri(urlString); 271Uri source = (String.IsNullOrEmpty(urlString) ? null : new Uri(urlString)); 300Uri source = (String.IsNullOrEmpty(urlString) ? null : new Uri(urlString));
src\Framework\MS\Internal\Utility\BindUriHelper.cs (1)
49static private Uri placeboBase = new Uri(PLACEBOURI);
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (3)
69_predefinedNamespaces.Add(new Uri(AnnotationXmlConstants.Namespaces.CoreSchemaNamespace), null); 70_predefinedNamespaces.Add(new Uri(AnnotationXmlConstants.Namespaces.BaseSchemaNamespace), null); 71_predefinedNamespaces.Add(new Uri(XamlReaderHelper.DefaultNamespaceURI), null);
src\Framework\System\Windows\Controls\WebBrowser.cs (3)
249Uri uri = new Uri(source); 549return (string.IsNullOrEmpty(urlString) ? null : new Uri(urlString)); 1198source = new Uri(AboutBlankUriString);
src\Framework\System\Windows\Documents\FixedPage.cs (1)
665workuri = new Uri(new Uri("http://microsoft.com/"), inputUri);
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
201sd._manufacturerWebsite = new Uri(GetNonEmptyRegistryString(key, "manufacturerWebsite"));
src\Framework\System\Windows\Documents\Speller.cs (2)
1641fileUri = new Uri(new Uri(Directory.GetCurrentDirectory() + "/"), uri); 1750return new Uri(tmpFilePath);
src\Framework\System\Windows\Interop\DocobjHost.cs (2)
1348_deploymentManifest = new Uri(path); 1351_debugSecurityZoneURL.Value = new Uri(debugSecurityZoneURL);
src\Framework\System\Windows\Markup\ParserContext.cs (2)
146BaseUri = new Uri( xmlReader.BaseURI ); 483Uri sameUri = new Uri(serializedSafe);
src\Framework\System\Windows\Markup\XamlReader.cs (2)
255parserContext.BaseUri = new Uri(reader.BaseURI); 813parserContext.BaseUri = new Uri(reader.BaseURI);
System (25)
compmod\microsoft\win32\NativeMethods.cs (1)
257Uri uri = new Uri(fileName);
compmod\microsoft\win32\SystemEvents.cs (2)
1261Uri codeBase = new Uri(ecb); 1270Uri exeUri = new Uri(executablePath);
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (2)
77Uri uri = new Uri(fileName); 107licenseFile = new Uri(new Uri(codeBase), rawFile);
net\System\Net\_ServiceNameStore.cs (1)
128Uri hostUri = new Uri(uriPrefix);
net\System\Net\_SpnDictionary.cs (2)
196Uri uri = new Uri(key); 198new WebPermission(NetworkAccess.Connect, new Uri(key)).Demand();
net\System\Net\_WebProxyDataBuilder.cs (1)
96return new Uri(proxyString);
net\System\Net\FtpWebRequest.cs (2)
2049cacheUri = new Uri(cacheUri.GetParts(UriComponents.AbsoluteUri & ~(UriComponents.Fragment|UriComponents.UserInfo), UriFormat.SafeUnescaped)); 2054cacheUri = new Uri(username);
net\System\Net\HttpWebRequest.cs (1)
4215cacheUri = new Uri(cacheUri.GetParts(UriComponents.AbsoluteUri & ~UriComponents.Fragment, UriFormat.SafeUnescaped));
net\System\Net\ServicePointManager.cs (1)
662Uri uri = new Uri(uriString);
net\System\Net\webclient.cs (3)
164m_baseAddress = new Uri(value); 972return new Uri(Path.GetFullPath(path)); 976return new Uri(Path.GetFullPath(path));
net\System\Net\webproxy.cs (3)
98: this(new Uri("http://" + Host + ":" + Port.ToString(CultureInfo.InvariantCulture)), false, null, null) { 298return new Uri(address); 697return proxyName==null || proxyName.Length==0 ? null : new Uri("http://" + proxyName);
net\System\Net\WebRequest.cs (2)
238return Create(new Uri(requestUriString), false); 308return CreateHttp(new Uri(requestUriString));
net\System\uribuilder.cs (2)
53Init(new Uri(uri)); 320m_uri = new Uri(ToString());
sys\system\Media\SoundPlayer.cs (2)
391result = new Uri(partialUri); 399result = new Uri(Path.GetFullPath(partialUri));
System.Activities (1)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
2462string fileName = new Uri(assemblyReference.Assembly.CodeBase).LocalPath;
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\XmlPropertyBag.cs (1)
206return new Uri(value);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\AssemblyContextControlItem.cs (1)
44if ((LocalAssemblyName != null) && LocalAssemblyName.CodeBase != null && (File.Exists(new Uri(LocalAssemblyName.CodeBase).LocalPath)))
System.Core (1)
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (1)
132return new Uri(helpLinkStr);
System.Data (4)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\AssemblyContextControlItem.cs (1)
44if ((LocalAssemblyName != null) && LocalAssemblyName.CodeBase != null && (File.Exists(new Uri(LocalAssemblyName.CodeBase).LocalPath)))
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
281return (new Uri(s));
fx\src\data\System\Data\Common\SQLConvert.cs (2)
605return new Uri((string) value); 691return new Uri((string) value);
System.Data.Entity (1)
System\Data\Mapping\StorageMappingItemLoader.cs (1)
3576sourceLocation = Helper.GetFileNameFromUri(new Uri(args.Exception.SourceUri));
System.Data.Services (1)
System\Data\Services\RequestUriProcessor.cs (1)
251referenceAsUri = new Uri(absoluteServiceUri.OriginalString + slash + reference);
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\XmlCollation.cs (2)
152collationUri = new Uri(collationLiteral); 175} else if (collationUri.IsBaseOf(new Uri(XmlReservedNs.NsCollCodePoint))) {
System.Drawing (2)
commonui\System\Drawing\Icon.cs (2)
243uri = new Uri(filePath); 252uri = new Uri(filePath);
System.IdentityModel (67)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
193claims.Add(Claim.CreateUriClaim(new Uri(value)));
System\IdentityModel\Metadata\MetadataSerializer.cs (4)
1008resultKey.EncryptionMethods.Add(new EncryptionMethod(new Uri(algorithm))); 1431roleDescriptor.ProtocolsSupported.Add(new Uri(toAdd)); 1687singleSignOnDescriptor.NameIdentifierFormats.Add(new Uri(nameId)); 3211attribute.NameFormat = new Uri(value);
System\IdentityModel\Protocols\WSTrust\BinaryExchange.cs (1)
25: this( binaryData, valueType, new Uri( WSSecurity10Constants.EncodingTypes.Base64 ) )
System\IdentityModel\Protocols\WSTrust\EndpointReference.cs (1)
33Uri tempUri = new Uri(uri);
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (1)
153Uri uri = new Uri(this.allowedAudienceUris[j]);
System\IdentityModel\Tokens\Saml2Constants.cs (41)
25public static readonly Uri Rwedc = new Uri(RwedcString); 30public static readonly Uri RwedcNegation = new Uri(RwedcNegationString); 35public static readonly Uri Ghpp = new Uri(GhppString); 40public static readonly Uri Unix = new Uri(UnixString); 80public static readonly Uri InternetProtocol = new Uri(InternetProtocolString); 83public static readonly Uri InternetProtocolPassword = new Uri(InternetProtocolPasswordString); 86public static readonly Uri Kerberos = new Uri(KerberosString); 89public static readonly Uri MobileOneFactorUnregistered = new Uri(MobileOneFactorUnregisteredString); 92public static readonly Uri MobileTwoFactorUnregistered = new Uri(MobileTwoFactorUnregisteredString); 95public static readonly Uri MobileOneFactorContract = new Uri(MobileOneFactorContractString); 98public static readonly Uri MobileTwoFactorContract = new Uri(MobileTwoFactorContractString); 101public static readonly Uri Password = new Uri(PasswordString); 104public static readonly Uri PasswordProtectedTransport = new Uri(PasswordProtectedTransportString); 107public static readonly Uri PreviousSession = new Uri(PreviousSessionString); 110public static readonly Uri X509 = new Uri(X509String); 113public static readonly Uri Pgp = new Uri(PgpString); 116public static readonly Uri Spki = new Uri(SpkiString); 119public static readonly Uri XmlDSig = new Uri(XmlDsigString); 122public static readonly Uri Smartcard = new Uri(SmartcardString); 125public static readonly Uri SmartcardPki = new Uri(SmartcardPkiString); 128public static readonly Uri SoftwarePki = new Uri(SoftwarePkiString); 131public static readonly Uri Telephony = new Uri(TelephonyString); 134public static readonly Uri NomadTelephony = new Uri(NomadTelephonyString); 137public static readonly Uri PersonalTelephony = new Uri(PersonalTelephonyString); 140public static readonly Uri AuthenticatedTelephony = new Uri(AuthenticatedTelephonyString); 143public static readonly Uri SecureRemotePassword = new Uri(SecureRemotePasswordString); 146public static readonly Uri TlsClient = new Uri(TlsClientString); 149public static readonly Uri TimeSyncToken = new Uri(TimeSyncTokenString); 152public static readonly Uri Unspecified = new Uri(UnspecifiedString); 192public static readonly Uri Bearer = new Uri(BearerString); 198public static readonly Uri HolderOfKey = new Uri(HolderOfKeyString); 204public static readonly Uri SenderVouches = new Uri(SenderVouchesString); 256public static readonly Uri Unspecified = new Uri(UnspecifiedString); 263public static readonly Uri EmailAddress = new Uri(EmailAddressString); 270public static readonly Uri X509SubjectName = new Uri(X509SubjectNameString); 276public static readonly Uri WindowsDomainQualifiedName = new Uri(WindowsDomainQualifiedNameString); 283public static readonly Uri Kerberos = new Uri(KerberosString); 292public static readonly Uri Entity = new Uri(EntityString); 300public static readonly Uri Persistent = new Uri(PersistentString); 307public static readonly Uri Transient = new Uri(TransientString); 313public static readonly Uri Encrypted = new Uri(EncryptedString);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (9)
1023conditions.AudienceRestrictions.Add(new Saml2AudienceRestriction(new Uri(relyingPartyAddress))); 1105attribute.NameFormat = new Uri(nameFormat); 1466nameIdentifier.Format = new Uri(nameIdentifierFormat); 2388actionNamespace = new Uri(attributeValue); 3005attribute.NameFormat = new Uri(value); 3908resource = new Uri(value); 4610nameIdentifier.Format = new Uri(value); 5136Saml2SubjectConfirmation subjectConfirmation = new Saml2SubjectConfirmation(new Uri(method)); 5310confirmationData.Recipient = new Uri(value);
System\IdentityModel\Tokens\SamlAudienceRestrictionCondition.cs (1)
91this.audiences.Add(new Uri(audience));
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
287conditions.Conditions.Add(new SamlAudienceRestrictionCondition(new Uri[] { new Uri(relyingPartyAddress) }));
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (3)
364audienceLeftPart = new Uri(audience.GetLeftPart(UriPartial.Path)); 368Uri baseUri = new Uri("http://www.example.com"); 370audienceLeftPart = baseUri.MakeRelativeUri(new Uri(resolved.GetLeftPart(UriPartial.Path)));
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
1745return new SysClaim(SysClaimTypes.Uri, new Uri(url), right);
System\IdentityModel\UniqueId.cs (1)
116return new Uri(UuidUriPrefix + GetRandomUuid());
System\IdentityModel\WSSecureConversation13Constants.cs (1)
16public static readonly Uri NamespaceUri = new Uri( Namespace );
System\IdentityModel\WSSecureConversationFeb2005Constants.cs (1)
16public static readonly Uri NamespaceUri = new Uri( Namespace );
System.Runtime.Remoting (4)
channels\core\socketcache.cs (1)
59_uri = new Uri("dummy://" + machineAndPort);
channels\http\httpclientchannel.cs (1)
224ServicePoint sp = ServicePointManager.FindServicePoint(new Uri(channelURI));
channels\tcp\tcpclientchannel.cs (1)
359Uri uri = new Uri(simpleChannelUri);
metadata\wsdlparser.cs (1)
734currentReaderStream.Uri= new Uri(currentReaderStream.Location); // If relative path, will already be changed to absolute path by next statement in previous invocation.
System.Runtime.Serialization (1)
System\Runtime\Serialization\Globals.cs (1)
1103dataContractXsdBaseNamespaceUri = new Uri(DataContractXsdBaseNamespace);
System.Security (1)
system\security\cryptography\xml\reference.cs (1)
417uri = new Uri(new Uri(baseUri), uri);
System.ServiceModel (34)
System\ServiceModel\Channels\Addressing.cs (2)
456return new Uri(toString); 764internal static readonly Uri ReplyRelationshipType = new Uri(Addressing10Strings.ReplyRelationship);
System\ServiceModel\Channels\AddressingVersion.cs (2)
50this.anonymousUri = new Uri(anonymous); 55this.noneUri = new Uri(none);
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
1547toHeader = ToHeader.Create(new Uri(toString.Value), messageVersion.Addressing);
System\ServiceModel\Channels\CallbackContextMessageProperty.cs (1)
41: this(new Uri(listenAddress), context)
System\ServiceModel\Channels\FramingDecoders.cs (1)
225via = new Uri(value);
System\ServiceModel\Channels\Message.cs (1)
2112uri = new Uri(uriString);
System\ServiceModel\Channels\Msmq4PoisonHandler.cs (2)
38this.poisonQueueName = this.ReceiveParameters.AddressTranslator.UriToFormatName(new Uri(this.ListenUri.AbsoluteUri + ";poison")); 39this.retryQueueName = this.ReceiveParameters.AddressTranslator.UriToFormatName(new Uri(this.ListenUri.AbsoluteUri + ";retry"));
System\ServiceModel\Channels\MsmqUri.cs (1)
351return new Uri(Scheme + ":" + path);
System\ServiceModel\Channels\PeerHelpers.cs (1)
337result = new Uri(rawString);
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
422status = new Uri(isValid ? PeerRequestSecurityTokenResponse.ValidString : PeerRequestSecurityTokenResponse.InvalidString);
System\ServiceModel\Channels\PrivacyNoticeBindingElementImporter.cs (1)
38settings.Url = new Uri(privacyNoticeAssertion.InnerText);
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (2)
281EndpointAddress mexEndpointAddress = new EndpointAddress(new Uri(mexAddress), mexIdentity); 415this.serviceEndpoint = new ServiceEndpoint(contractDescription, endpoint.Binding, new EndpointAddress(new Uri(address), identity, (AddressHeaderCollection)null));
System\ServiceModel\ComIntegration\TypedServiceChannelBuilder.cs (1)
152endpoint.Address = new EndpointAddress(new Uri(address), identity);
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (1)
288EndpointAddress endpointAddress = new EndpointAddress(new Uri(address), identity, (AddressHeaderCollection)null);
System\ServiceModel\Configuration\IssuedTokenClientElement.cs (1)
148issuedToken.IssuerChannelBehaviors.Add(new Uri(issuerBehaviorElement.IssuerAddress), issuerBehaviors);
System\ServiceModel\Description\DispatcherBuilder.cs (1)
566baseAddress = new Uri(baseAddress.AbsoluteUri + "/");
System\ServiceModel\Description\MetadataExchangeClient.cs (1)
623return new Uri(new Uri(baseUri), relativeUri);
System\ServiceModel\Diagnostics\PeerNodeTraceRecord.cs (1)
307this.from = fromAddress != null ? fromAddress.EndpointAddress.Uri : new Uri("net.p2p://");
System\ServiceModel\Diagnostics\PerformanceCountersFactory.cs (1)
179ServiceHost dummyServiceHost = new ServiceHost(typeof(object), new Uri("http://" + dummyValue));
System\ServiceModel\EndpointAddress.cs (3)
99Uri u = new Uri(uri); 235anonymousUri = new Uri(AddressingStrings.AnonymousUri); 245noneUri = new Uri(AddressingStrings.NoneUri);
System\ServiceModel\MsmqIntegration\MsmqIntegrationInputMessage.cs (1)
119return new Uri("msmq.formatname:" + formatName);
System\ServiceModel\Security\InfoCardHelper.cs (1)
160selfIssuerUri = new Uri(WSIdentityNamespace + "/issuer/self");
System\ServiceModel\Security\SctClaimSerializer.cs (1)
335return new Claim(ClaimTypes.Uri, new Uri(url), right);
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenHelper.cs (1)
85return new SessionSecurityToken(claimsPrincipal, sct.ContextId, sct.Id, String.Empty, sct.GetKeyBytes(), endpointId, sct.ValidFrom, sct.ValidTo, sct.KeyGeneration, sct.KeyEffectiveTime, sct.KeyExpirationTime, sctAuthPolicy, new Uri(version.Namespace.Value));
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2831static readonly Uri SelfIssuerUri = new Uri(WSIdentityNamespace + "/issuer/self");
System\ServiceModel\ServiceHost.cs (1)
720baseUri = new Uri(baseUri.AbsoluteUri + "/");
System\UriTemplate.cs (1)
626Uri sourceUri = new Uri(String.Format(CultureInfo.InvariantCulture, "{0}://{1}", uri.Scheme, host));
System\UriTemplateLiteralPathSegment.cs (1)
19static Uri dummyUri = new Uri("http://localhost");
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (2)
111defaultBaseUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/workflowControlServiceEndpoint/{0}/{1}", 117Uri tempUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/workflowControlServiceEndpoint/{0}",
System.ServiceModel.Discovery (31)
System\ServiceModel\Discovery\DiscoveryDefaults.cs (2)
22public static readonly Uri IPv4MulticastAddress = new Uri(ProtocolStrings.Udp.MulticastIPv4Address); 25public static readonly Uri IPv6MulticastAddress = new Uri(ProtocolStrings.Udp.MulticastIPv6Address);
System\ServiceModel\Discovery\FindCriteria.cs (6)
22public static readonly Uri ScopeMatchByExact = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByExact); 25public static readonly Uri ScopeMatchByLdap = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByLdap); 28public static readonly Uri ScopeMatchByPrefix = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByPrefix); 32public static readonly Uri ScopeMatchByUuid = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByUuid); 35public static readonly Uri ScopeMatchByNone = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByNone); 413return new Uri(string.Format(CultureInfo.InvariantCulture, "urn:{0}", contractTypeName.ToString()));
System\ServiceModel\Discovery\OfflineAnnouncementChannelDispatcher.cs (1)
117return new Uri(ProtocolStrings.VersionInternal.AdhocAddress);
System\ServiceModel\Discovery\UdpAnnouncementEndpoint.cs (2)
30: this(new Uri(multicastAddress)) 45: this(discoveryVersion, new Uri(multicastAddress))
System\ServiceModel\Discovery\UdpDiscoveryEndpoint.cs (2)
32: this(new Uri(multicastAddress)) 47: this(discoveryVersion, new Uri(multicastAddress))
System\ServiceModel\Discovery\Version11\DiscoveryVersion11Implementation.cs (6)
15static readonly Uri ScopeMatchByExact = new Uri(ProtocolStrings.Version11.ScopeMatchByExact); 16static readonly Uri ScopeMatchByLdap = new Uri(ProtocolStrings.Version11.ScopeMatchByLdap); 17static readonly Uri ScopeMatchByPrefix = new Uri(ProtocolStrings.Version11.ScopeMatchByPrefix); 18static readonly Uri ScopeMatchByUuid = new Uri(ProtocolStrings.Version11.ScopeMatchByUuid); 19static readonly Uri ScopeMatchByNone = new Uri(ProtocolStrings.Version11.ScopeMatchByNone); 51this.discoveryAddress = new Uri(ProtocolStrings.Version11.AdhocAddress);
System\ServiceModel\Discovery\VersionApril2005\DiscoveryVersionApril2005Implementation.cs (6)
15static readonly Uri ScopeMatchByExact = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByExact); 16static readonly Uri ScopeMatchByLdap = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByLdap); 17static readonly Uri ScopeMatchByPrefix = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByPrefix); 18static readonly Uri ScopeMatchByUuid = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByUuid); 19static readonly Uri ScopeMatchByNone = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByNone); 51this.discoveryAddress = new Uri(ProtocolStrings.VersionApril2005.AdhocAddress);
System\ServiceModel\Discovery\VersionCD1\DiscoveryVersionCD1Implementation.cs (6)
15static readonly Uri ScopeMatchByExact = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByExact); 16static readonly Uri ScopeMatchByLdap = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByLdap); 17static readonly Uri ScopeMatchByPrefix = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByPrefix); 18static readonly Uri ScopeMatchByUuid = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByUuid); 19static readonly Uri ScopeMatchByNone = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByNone); 51this.discoveryAddress = new Uri(ProtocolStrings.VersionCD1.AdhocAddress);
System.ServiceModel.Web (1)
System\ServiceModel\Web\WebServiceHost.cs (1)
261UriTemplateDispatchFormatter throwAway = new UriTemplateDispatchFormatter(operation, null, new QueryStringConverter(), operation.DeclaringContract.Name, new Uri("http://localhost"));
System.Web (12)
ErrorFormatter.cs (2)
767return (new Uri(server + virtualPath)).ToString(); 789Uri uri = new Uri(linePragma);
Handlers\AssemblyResourceLoader.cs (1)
152long assemblyDate = File.GetLastWriteTime(new Uri(assemblyName.CodeBase).LocalPath).Ticks;
HttpRequest.cs (4)
185_url = new Uri(url); 198_url = new Uri("http://localhost" + virtualPath.VirtualPathString); 1894_url = new Uri(u); 1973_referrer = new Uri(r);
HttpRuntime.cs (1)
3326Uri uri = new Uri(path);
UI\Util.cs (1)
1120Uri uri=new Uri(url);
Util\UriUtil.cs (1)
52return new Uri(uriString);
Util\UrlPath.cs (2)
368Uri fromUri = new Uri(dummyProtocolAndServer + from); 369Uri toUri = new Uri(dummyProtocolAndServer + to);
System.Web.DataVisualization (6)
Common\General\Chart.cs (2)
3574templateUri = new Uri(url); 3595templateUri = new Uri(new Uri(webFormUrl), url);
Common\Utilities\ImageLoader.cs (2)
196Uri pageUri = new Uri(control.webFormDocumentURL); 287 imageUri = new Uri(imageURL);
WebForm\General\ChartHttpHandler.cs (2)
924Uri directory = new Uri(this.Directory); 925Uri combinedDirectory = new Uri(fi.FullName);
System.Web.Extensions (2)
ClientServices\Providers\ProxyHelper.cs (1)
283Uri uri = new Uri(serverUri);
Script\Services\WebServiceClientProxyGenerator.cs (1)
27DateTime writeTime = File.GetLastWriteTime(new Uri(assemblyName.CodeBase).LocalPath);
System.Web.Mobile (3)
Mobile\UrlPath.cs (2)
230Uri fromUri = new Uri(dummyProtocolAndServer + from); 231Uri toUri = new Uri(dummyProtocolAndServer + to);
UI\MobileControls\Design\ImageDesigner.cs (1)
115Uri baseUri = new Uri(BaseUrl);
System.Web.Services (11)
System\Web\Services\Description\ProtocolImporter.cs (2)
683string relativeUrl = new Uri(appSettingBaseUrl).MakeRelative(new Uri(url));
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (1)
233WebRequest request = GetWebRequest(new Uri(url));
System\Web\Services\Discovery\DiscoveryReference.cs (1)
173return (new Uri(new Uri(baseUrl), relUrl)).GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (2)
49string localPath = (new System.Uri(rootUrl)).LocalPath; 145Uri uri = new Uri(url);
System\Web\Services\Protocols\ClientProtocol.cs (1)
175set { uri = new Uri(value); }
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (1)
198new Uri(absolutePathAndQuery).PathAndQuery);
System\Web\Services\Protocols\HttpClientProtocol.cs (3)
133Uri requestUri = new Uri(requestUrl); 187Uri requestUri = new Uri(requestUrl); 299Uri requestUri = new Uri(requestUrl);
System.Windows.Forms (21)
winforms\Managed\System\WinForms\Application.cs (2)
375Uri codeBase = new Uri(cb); 384Uri exeUri = new Uri(executablePath);
winforms\Managed\System\WinForms\Form.cs (1)
4289Uri currentSite = new Uri(arrayElement.ToString());
winforms\Managed\System\WinForms\Help.cs (3)
308file = new Uri(file.ToString() + "#" + (string)param); 334file = new Uri(partialUri); 370file = new Uri(new Uri(AppDomain.CurrentDomain.SetupInformation.ApplicationBase),
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
164return string.IsNullOrEmpty(stringLocation) ? null : new Uri(stringLocation);
winforms\Managed\System\WinForms\HtmlElementErrorEventArgs.cs (1)
80url = new Uri(urlString);
winforms\Managed\System\WinForms\HtmlWindow.cs (1)
240return string.IsNullOrEmpty(stringLocation) ? null : new Uri(stringLocation);
winforms\Managed\System\WinForms\NativeMethods.cs (1)
6395Uri uri = new Uri(fileName);
winforms\Managed\System\WinForms\PictureBox.cs (2)
187uri = new Uri(path); 193uri = new Uri(path);
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
204Uri codeBase = new Uri(name.EscapedCodeBase);
winforms\Managed\System\WinForms\TrustManager.cs (1)
695System.Uri uri = new System.Uri(deploymentUrl);
winforms\Managed\System\WinForms\WebBrowser.cs (6)
272Uri url = new Uri(href); 316this.Url = new Uri("about:blank"); 626return new Uri(urlString); 1942new Uri(urlString), targetFrameName == null ? "" : (string)targetFrameName); 1970new Uri(urlString)); 1988new Uri(urlString));
winforms\Managed\System\WinForms\WebBrowserUriTypeConverter.cs (1)
22uri = new Uri("http://" + uri.OriginalString.Trim());
System.Windows.Forms.DataVisualization (3)
Common\General\Chart.cs (2)
3574templateUri = new Uri(url); 3595templateUri = new Uri(new Uri(webFormUrl), url);
Common\Utilities\ImageLoader.cs (1)
287 imageUri = new Uri(imageURL);
System.Workflow.Activities (4)
Designers\InvokeWebServiceDesigner.cs (1)
126PropertyDescriptorUtils.SetPropertyValue(Activity.Site, TypeDescriptor.GetProperties(Activity)["ProxyClass"], Activity, string.IsNullOrEmpty(this.url) ? null : extUIService.GetProxyClassForUrl(new Uri(this.url)));
Designers\StateDesigner.cs (3)
2732Uri uri = new Uri(pathFrom); 2733string relativePath = Uri.UnescapeDataString(uri.MakeRelativeUri(new Uri(pathTo)).ToString()); 2745string imageFilePath = System.Web.HttpUtility.UrlDecode((new Uri(new Uri(directory), path).LocalPath));
System.Workflow.ComponentModel (4)
AuthoringOM\Design\DesignerHelpers.cs (3)
1463Uri uri = new Uri(pathFrom); 1464string relativePath = Uri.UnescapeDataString(uri.MakeRelativeUri(new Uri(pathTo)).ToString()); 1476string imageFilePath = Uri.UnescapeDataString((new Uri(new Uri(directory), path).LocalPath));
AuthoringOM\Design\Themes.cs (1)
310path = new Uri(Assembly.GetExecutingAssembly().CodeBase).AbsolutePath;
System.WorkflowServices (3)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (1)
24static readonly Uri baseUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/ExternalDataExchangeEndpoint/{0}/{1}",
System\Workflow\Runtime\Hosting\ChannelManager.cs (2)
23static Uri defaultViaUri = new Uri("channelCache://default_address"); 128Uri via = (customAddress != null) ? new Uri(customAddress) : defaultViaUri;
System.Xml (1)
System\Xml\XmlResolver.cs (1)
53uri = new Uri( Path.GetFullPath( relativeUri ) );
WindowsBase (12)
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (4)
964return new Uri(stringValue); 1077return new Uri(serviceUrl.ToString()); 1810return new Uri(addressAttributeValue); 1831referralInfoUri = new Uri(addressAttributeValue);
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (2)
272unsignedPublishLicense.ReferralInfoUri = new Uri(distributionPointUri); 1029resultRevocationPoint.Url = (urlTemp == null) ? null : new Uri(urlTemp.ToString());
Base\System\IO\Packaging\PackUriHelper.cs (5)
141Uri packUri = new Uri(absolutePackageUri); 149packUri = new Uri(String.Concat(packUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped), fragment)); 155return new Uri(packUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped)); 976Uri packageUri = new Uri(Uri.UnescapeDataString(hostAndPort)); 1008private static readonly Uri _defaultUri = new Uri("http://defaultcontainer/");
Shared\MS\Internal\ResourceIDHelper.cs (1)
24Uri baseUri = new Uri("http://foo/");