66 references to Relative
PresentationCore (5)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
322return new Uri(new Uri(codeBase), new Uri(".", UriKind.Relative));
Core\CSharp\System\Windows\Media\Color.cs (1)
309context.ProfileUri.IsAbsoluteUri ? UriKind.Absolute : UriKind.Relative);
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (3)
204Uri partUri = new Uri(uri.AbsolutePath, UriKind.Relative); 498source = new Uri(uri.AbsolutePath, UriKind.Relative); 553return new Uri(appendedUri, UriKind.Relative);
PresentationFramework (6)
src\Framework\System\Windows\Documents\FixedSchema.cs (1)
168Uri targetUri = PackUriHelper.ResolvePartUri(_baseUri, new Uri(uriAttr, UriKind.Relative));
src\Framework\System\Windows\Documents\WpfPayload.cs (4)
488Uri imagePartUri = new Uri(XamlPayloadDirectory + imagePartUriString, UriKind.Relative); 724Uri imagePartUri = new Uri(XamlPayloadDirectory + imagePartUriString, UriKind.Relative); 743Uri imagePartUri = new Uri(XamlPayloadDirectory + imageSourceString, UriKind.Relative); 808Uri entryPartUri = new Uri(XamlPayloadDirectory + XamlEntryName, UriKind.Relative);
src\Framework\System\Windows\Navigation\JournalEntry.cs (1)
385BaseUriHelper.GetAssemblyNameAndPart(new Uri(relativeUri, UriKind.Relative), out part, out assy, out assyVers, out assyKey);
System (11)
net\System\_UriTypeConverter.cs (3)
75m_UriKind == UriKind.RelativeOrAbsolute ? uri.IsAbsoluteUri ? UriKind.Absolute : UriKind.Relative : m_UriKind); 88m_UriKind == UriKind.RelativeOrAbsolute ? uri.IsAbsoluteUri ? UriKind.Absolute : UriKind.Relative : m_UriKind }); 96m_UriKind == UriKind.RelativeOrAbsolute ? uri.IsAbsoluteUri ? UriKind.Absolute : UriKind.Relative : m_UriKind);
net\System\URI.cs (2)
666CreateThis(uriString, false, UriKind.Relative); 1936return new Uri(relativeUriString, UriKind.Relative);
net\System\UriExt.cs (6)
36if ((int)uriKind < (int)UriKind.RelativeOrAbsolute || (int)uriKind > (int)UriKind.Relative) { 67(uriKind == UriKind.Relative || (m_String.Length >= 2 && (m_String[0] != '\\' || m_String[1] != '\\')))) 81else if (uriKind == UriKind.Relative && InFact(Flags.DosPath)) 136else if (uriKind == UriKind.Relative) 197else if (uriKind == UriKind.Relative) 694if ((int)uriKind < (int)UriKind.RelativeOrAbsolute || (int)uriKind > (int)UriKind.Relative){
System.Data.Services (2)
System\Data\Services\Serializers\SyndicationSerializer.cs (2)
341link.Uri = new Uri(relativeUri, UriKind.Relative); 582var uri = new Uri(relativeUri, UriKind.Relative);
System.Data.Services.Client (11)
System\Data\Services\Client\ALinq\UriWriter.cs (1)
68uri = Util.CreateUri(context.BaseUriWithSlash, Util.CreateUri(writer.uriBuilder.ToString(), UriKind.Relative));
System\Data\Services\Client\DataServiceContext.cs (5)
2718relative = Util.CreateUri(XmlConstants.UriLinkSegment + "/" + CommonUtil.UriToString(navigationPropertyUri), UriKind.Relative); 2722relative = Util.CreateUri(XmlConstants.UriLinkSegment + "/" + binding.SourceProperty, UriKind.Relative); 3267relativeUri = Util.CreateUri(XmlConstants.UriValueSegment, UriKind.Relative); 3271relativeUri = Util.CreateUri(propertyName + (null != property.CollectionType ? "()" : String.Empty), UriKind.Relative); 5050Uri requestUri = Util.CreateUri(this.Context.baseUriWithSlash, Util.CreateUri("$batch", UriKind.Relative));
System\Data\Services\Client\EntityDescriptor.cs (4)
386Util.CreateUri(baseUriWithSlash, new Uri("$" + this.parentDescriptor.ChangeOrder.ToString(CultureInfo.InvariantCulture), UriKind.Relative)), 387Util.CreateUri(this.parentProperty, UriKind.Relative)); 479return Util.CreateUri(this.entitySetName, UriKind.Relative); 483return Util.CreateUri(this.parentProperty, UriKind.Relative);
System\Data\Services\Client\Util.cs (1)
288requestUri = new Uri(baseUri, Util.CreateUri(requestUri.OriginalString.TrimStart(Util.ForwardSlash), UriKind.Relative));
System.IdentityModel (1)
System\IdentityModel\Tokens\Saml2AuthorizationDecisionStatement.cs (1)
22public static readonly Uri EmptyResource = new Uri(string.Empty, UriKind.Relative);
System.ServiceModel (9)
System\ServiceModel\Description\ServiceDebugBehavior.cs (3)
184mex.HttpHelpPageUrl = host.GetVia(Uri.UriSchemeHttp, this.httpHelpPageUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpHelpPageUrl); 188mex.HttpsHelpPageUrl = host.GetVia(Uri.UriSchemeHttps, this.httpsHelpPageUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpsHelpPageUrl); 194Uri address = host.GetVia(scheme, url == null ? new Uri(string.Empty, UriKind.Relative) : url);
System\ServiceModel\Description\ServiceMetadataBehavior.cs (4)
24static readonly Uri emptyUri = new Uri(String.Empty, UriKind.Relative); 235Uri address = host.GetVia(scheme, url == null ? new Uri(string.Empty, UriKind.Relative) : url); 254mex.HttpGetUrl = host.GetVia(Uri.UriSchemeHttp, this.httpGetUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpGetUrl); 255mex.HttpsGetUrl = host.GetVia(Uri.UriSchemeHttps, this.httpsGetUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpsGetUrl);
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
27static readonly Uri EmptyUri = new Uri(String.Empty, UriKind.Relative);
System\ServiceModel\ServiceHost.cs (1)
435Uri absoluteUri = MakeAbsoluteUri(new Uri(relativeAddress, UriKind.Relative), endpoint.Binding);
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (1)
144Uri controlEndpointAddress = ServiceHost.GetVia(controlEndpointBinding.Scheme, new Uri(ControlEndpointAddress, UriKind.Relative), workflowServiceHost.InternalBaseAddresses);
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (1)
29new EndpointAddress(new Uri(WorkflowControlEndpoint.DefaultBaseUri, new Uri(Guid.NewGuid().ToString(), UriKind.Relative))))
System.Xml (2)
System\Xml\Resolvers\XmlPreloadedResolver.cs (2)
185return new Uri(relativeUri, UriKind.Relative); 193return new Uri(relativeUri, UriKind.Relative);
WindowsBase (17)
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (1)
822return PackUriHelper.CreatePartUri(new Uri(propertyPartName, UriKind.Relative));
Base\MS\Internal\IO\Packaging\PieceNameHelper.cs (1)
332Uri partUri = new Uri(ZipPackage.GetOpcNameFromZipItemName(parseResults.PrefixName), UriKind.Relative);
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (1)
616uri = PackUriHelper.ValidatePartUri(new Uri(attrValue.Substring(0, index), UriKind.Relative));
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (3)
573CertificatePart.PartNamePrefix + exSigner.SerialNumber + CertificatePart.PartNameExtension, UriKind.Relative)); 1267Guid.NewGuid().ToString(_guidStorageFormatString, (IFormatProvider)null) + _defaultSignaturePartNameExtension, UriKind.Relative)); 1403private static Uri _defaultOriginPartName = PackUriHelper.CreatePartUri(new Uri("/package/services/digital-signature/origin.psdsor", UriKind.Relative));
Base\System\IO\Packaging\PackageRelationship.cs (1)
276private static readonly Uri _containerRelationshipPartName = PackUriHelper.CreatePartUri(new Uri("/_rels/.rels", UriKind.Relative));
Base\System\IO\Packaging\PackUriHelper.cs (6)
284return new Uri(resolvedUri.AbsolutePath, UriKind.Relative); 927safeUnescapedUri = new Uri(partUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped), UriKind.Relative); 933UriComponents.KeepDelimiter, UriFormat.SafeUnescaped), UriKind.Relative); 994return ValidatePartUri(new Uri(partName, UriKind.Relative)); 1011private static readonly Uri _packageRootUri = new Uri("/", UriKind.Relative); 1189: base(partUriString, UriKind.Relative)
Base\System\IO\Packaging\ZipPackage.cs (4)
274Uri partUri = new Uri(GetOpcNameFromZipItemName(zipInfo.Name), UriKind.Relative); 304Uri partUri = new Uri(GetOpcNameFromZipItemName(zipInfo.Name), UriKind.Relative); 1343new Uri(TemporaryPartNameWithoutExtension + extensionAttributeValue, UriKind.Relative)); 1371PackUriHelper.ValidatedPartUri partUri = PackUriHelper.ValidatePartUri(new Uri(partNameAttributeValue, UriKind.Relative));