336 references to UriComponents
PresentationBuildTasks (4)
Framework\System\Windows\Markup\ParserContext.cs (2)
482string serializedSafe = parserContext.BaseUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped); 484string cannonicalString = sameUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
Shared\MS\Internal\ResourceIDHelper.cs (2)
61string basePath = baseUri.GetComponents(UriComponents.Path, UriFormat.UriEscaped); 62string sourcePath = sourceUri.GetComponents(UriComponents.Path, UriFormat.UriEscaped);
PresentationCore (22)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (7)
409internal const UriComponents UriWithoutFragment = UriComponents.AbsoluteUri & ~UriComponents.Fragment; 446_windowsFontsUriString = _windowsFontsUriObject.GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped); 656string fragment = fontUri.GetComponents(UriComponents.Fragment, UriFormat.SafeUnescaped); 687string canonicalPathUri = new Uri(fontUri).GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped); 755string unescapedPath = uri.GetComponents(UriComponents.Path, UriFormat.Unescaped);
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (1)
104string path = uri.GetComponents(UriComponents.Path, UriFormat.SafeUnescaped);
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
120return _fontUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (2)
220streamUri.GetComponents(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.UriEscaped));
Core\CSharp\System\Windows\Media\Color.cs (2)
308Uri safeUnescapedUri = new Uri(context.ProfileUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped), 311String uriString = safeUnescapedUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
Core\CSharp\System\Windows\Media\Fonts.cs (1)
114location = fontLocation.GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (5)
182PackUriHelper.GetPackageUri(uri).GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped), 218Debug.Assert(String.Compare(partName, uri.GetComponents(UriComponents.Path, UriFormat.UriEscaped), StringComparison.OrdinalIgnoreCase) == 0); 390if (Uri.Compare(sUri, SiteOfOriginBaseUri, UriComponents.Scheme, UriFormat.UriEscaped, StringComparison.OrdinalIgnoreCase) == 0) 396if (String.Compare(packageUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped), _packageSiteOfOriginBaseUriEscaped, StringComparison.OrdinalIgnoreCase) == 0) 398return (new Uri(sUri.GetComponents(UriComponents.SchemeAndServer, UriFormat.UriEscaped))).MakeRelativeUri(sUri);
Shared\MS\Utility\BindUriHelper.cs (3)
69uri.IsAbsoluteUri ? UriComponents.AbsoluteUri : UriComponents.SerializationInfoString, 176referer = sourceUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped);
PresentationFramework (6)
src\Framework\System\Windows\Markup\ParserContext.cs (2)
482string serializedSafe = parserContext.BaseUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped); 484string cannonicalString = sameUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
src\Framework\System\Windows\Markup\XamlParseException.cs (1)
300bamlFilePath = resourceUri.GetComponents(UriComponents.Path, UriFormat.Unescaped);
src\Shared\MS\Utility\BindUriHelper.cs (3)
69uri.IsAbsoluteUri ? UriComponents.AbsoluteUri : UriComponents.SerializationInfoString, 176referer = sourceUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped);
System (230)
net\System\_UriSyntax.cs (1)
412internal string InternalGetComponents(Uri thisUri, UriComponents uriComponents, UriFormat uriFormat)
net\System\IriHelper.cs (18)
81internal static bool CheckIsReserved(char ch, UriComponents component) 83if ((component != UriComponents.Scheme) && 84(component != UriComponents.UserInfo) && 85(component != UriComponents.Host) && 86(component != UriComponents.Port) && 87(component != UriComponents.Path) && 88(component != UriComponents.Query) && 89(component != UriComponents.Fragment) 92return (component == (UriComponents)0) ? Uri.IsGenDelim(ch) : false; 100case UriComponents.UserInfo: 104case UriComponents.Host: 108case UriComponents.Path: 112case UriComponents.Query: 116case UriComponents.Fragment: 135internal static unsafe string EscapeUnescapeIri(char* pInput, int start, int end, UriComponents component) 246byteCount, component == UriComponents.Query, true); 276escape = !CheckIriUnicodeRange(ch, ch2, ref surrogatePair, component == UriComponents.Query); 288if (CheckIriUnicodeRange(ch, component == UriComponents.Query))
net\System\Net\_AuthenticationManagerBase.cs (3)
230string completeUri = location.GetComponents(UriComponents.AbsoluteUri 231& ~(UriComponents.Query | UriComponents.Fragment), UriFormat.UriEscaped);
net\System\Net\_AuthenticationState.cs (5)
121string spnKey = httpWebRequest.ChallengedUri.GetParts(UriComponents.Scheme | UriComponents.Host | UriComponents.Port | UriComponents.Path, UriFormat.SafeUnescaped); 169spnKey = httpWebRequest.ChallengedUri.GetParts(UriComponents.SchemeAndServer, UriFormat.SafeUnescaped) + "/";
net\System\Net\_DigestClient.cs (7)
125new string[]{httpWebRequest.ChallengedUri.GetParts(UriComponents.SchemeAndServer, UriFormat.UriEscaped)} 311UriComponents uriParts = 0; 314uriParts = UriComponents.HostAndPort; 319uriParts = UriComponents.PathAndQuery; 384new string[]{httpWebRequest.ChallengedUri.GetParts(UriComponents.SchemeAndServer, UriFormat.UriEscaped)} 558this.Uri = httpWebRequest.RequestUri.GetParts(UriComponents.HostAndPort, UriFormat.UriEscaped); 563this.Uri = "/" + httpWebRequest.GetRemoteResourceUri().GetParts(UriComponents.Path,
net\System\Net\_FtpControlStream.cs (1)
781path = uri.GetComponents(UriComponents.Path,UriFormat.Unescaped);
net\System\Net\_SpnDictionary.cs (4)
197key = uri.GetParts(UriComponents.Scheme | UriComponents.Host | UriComponents.Port | UriComponents.Path, UriFormat.SafeUnescaped);
net\System\Net\Cache\RequestCacheValidator.cs (1)
207_CacheKey = uri.GetParts(UriComponents.AbsoluteUri, UriFormat.Unescaped);
net\System\Net\DNS.cs (1)
637result = uri.GetComponents(UriComponents.NormalizedHost, UriFormat.SafeUnescaped);
net\System\Net\FtpWebRequest.cs (9)
2049cacheUri = new Uri(cacheUri.GetParts(UriComponents.AbsoluteUri & ~(UriComponents.Fragment|UriComponents.UserInfo), UriFormat.SafeUnescaped)); 2052username = cacheUri.GetParts((UriComponents.Scheme | UriComponents.KeepDelimiter), UriFormat.SafeUnescaped) + username + '@'; 2053username += cacheUri.GetParts((UriComponents.Host | UriComponents.Port | UriComponents.Path | UriComponents.Query), UriFormat.SafeUnescaped);
net\System\Net\HttpWebRequest.cs (13)
4215cacheUri = new Uri(cacheUri.GetParts(UriComponents.AbsoluteUri & ~UriComponents.Fragment, UriFormat.SafeUnescaped)); 4784string scheme = _Uri.GetComponents(UriComponents.Scheme | UriComponents.KeepDelimiter, UriFormat.UriEscaped); 4786string path = _Uri.GetComponents(UriComponents.Path | UriComponents.Query, UriFormat.UriEscaped); 4809string scheme = _Uri.GetComponents(UriComponents.Scheme | UriComponents.KeepDelimiter, UriFormat.UriEscaped); 4810string userInfo = _Uri.GetComponents(UriComponents.UserInfo | UriComponents.KeepDelimiter, UriFormat.UriEscaped); 4812string path = _Uri.GetComponents(UriComponents.Path | UriComponents.Query, UriFormat.UriEscaped); 5784_RedirectedToDifferentHost = Uri.Compare(_OriginUri, _Uri, UriComponents.HostAndPort,
net\System\Net\WebPermission.cs (9)
275m_connectList[i] is Uri? (object)((Uri)m_connectList[i]).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped) : 298m_acceptList[i] is Uri? (object)((Uri)m_acceptList[i]).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped) : 635if (String.Compare(regexToCheck, Regex.Escape(uri.GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped)), StringComparison.OrdinalIgnoreCase ) == 0) 922tempStr=Regex.Escape(uri.GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped)); 954tempStr=Regex.Escape(uri.GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped)); 999string s = stringUri != null? stringUri: ((Uri)uriToCheck).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped); 1012s = ((Uri)uriToCheck).GetComponents(UriComponents.HttpRequestUrl, UriFormat.SafeUnescaped); 1133string uriString = isUri? ((Uri)R).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped): R.ToString(); 1145string uriString = isUri? ((Uri)L).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped): L.ToString();
net\System\Net\WebRequest.cs (2)
387&& tempUri.GetComponents(UriComponents.PathAndQuery | UriComponents.Fragment,
net\System\URI.cs (122)
689serializationInfo.AddValue("AbsoluteUri", GetParts(UriComponents.SerializationInfoString, UriFormat.UriEscaped)); 693serializationInfo.AddValue("RelativeUri", GetParts(UriComponents.SerializationInfoString, UriFormat.UriEscaped)); 728result = GetParts(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.UriEscaped); 750result = GetParts(UriComponents.AbsoluteUri, UriFormat.UriEscaped); 787return GetParts(UriComponents.Host | UriComponents.Port, UriFormat.UriEscaped); 874string result = GetParts(UriComponents.PathAndQuery, UriFormat.UriEscaped); 942return GetParts(UriComponents.Host, UriFormat.UriEscaped); 1135return GetUnescapedParts(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.Unescaped); 1179result = GetParts(UriComponents.Query | UriComponents.KeepDelimiter, UriFormat.UriEscaped); 1201result = GetParts(UriComponents.Fragment | UriComponents.KeepDelimiter, UriFormat.UriEscaped); 1337return GetParts(UriComponents.UserInfo, UriFormat.UriEscaped); 1422const UriComponents NonPathPart = (UriComponents.Scheme | UriComponents.UserInfo | UriComponents.Host | UriComponents.Port); 1427return GetParts(UriComponents.Scheme | UriComponents.KeepDelimiter, UriFormat.UriEscaped); 1448return GetParts(NonPathPart | UriComponents.Path, UriFormat.UriEscaped); 1451return GetParts(NonPathPart | UriComponents.Path | UriComponents.Query, UriFormat.UriEscaped); 1643chkString = GetParts(UriComponents.HttpRequestUrl, UriFormat.SafeUnescaped); 1675m_Info.String = GetComponentsHelper(UriComponents.AbsoluteUri, V1ToStringUnescape); 1677m_Info.String = GetParts(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped); 1871me = GetParts(UriComponents.HttpRequestUrl, UriFormat.SafeUnescaped); 1876she = obj.GetParts(UriComponents.HttpRequestUrl, UriFormat.SafeUnescaped); 1934relativeUriString += uri.GetParts(UriComponents.Query | UriComponents.Fragment, UriFormat.UriEscaped); 2624string host = m_Syntax.InternalGetComponents(this, UriComponents.Host, UriFormat.UriEscaped); 2667string portStr = m_Syntax.InternalGetComponents(this, UriComponents.StrongPort, UriFormat.UriEscaped); 2701internal string GetParts(UriComponents uriParts, UriFormat formatAs) 2709private string GetEscapedParts(UriComponents uriParts) { 2719if ((uriParts & UriComponents.Path) != 0) { 2739private string GetUnescapedParts(UriComponents uriParts, UriFormat formatAs) { 2746if ((uriParts & UriComponents.Path) != 0) { 2770private string ReCreateParts(UriComponents parts, ushort nonCanonical, UriFormat formatAs) 2774string stemp = (parts & UriComponents.Host) == 0? string.Empty: m_Info.Host; 2785if ((parts & UriComponents.Scheme) != 0) { 2788if (parts != UriComponents.Scheme) { 2798if ((parts & UriComponents.UserInfo) != 0 && InFact(Flags.HasUserInfo)) 2800if ((nonCanonical & (ushort)UriComponents.UserInfo) != 0) { 2842if (parts == UriComponents.UserInfo) 2850if ((parts & UriComponents.Host) != 0 && stemp.Length != 0) 2854&& (nonCanonical & (ushort)UriComponents.Host) != 0) { 2865if ((parts & UriComponents.NormalizedHost) != 0) 2889if ((parts & UriComponents.SerializationInfoString) != 0 && HostType == Flags.IPv6HostType && 2899if ((parts & UriComponents.Port) != 0) 2901if ((nonCanonical & (ushort)UriComponents.Port) == 0) { 2911else if ((parts & UriComponents.StrongPort) != 0 && m_Syntax.DefaultPort != UriParser.NoDefaultPort) { 2918else if (InFact(Flags.NotDefaultPort) || ((parts & UriComponents.StrongPort) != 0 && 2931if ((parts & UriComponents.Path) != 0) 2936if (parts == UriComponents.Path) 2951if ((parts & UriComponents.Query) != 0 && m_Info.Offset.Query < m_Info.Offset.Fragment) 2954if(parts != UriComponents.Query) 2957if ((nonCanonical & (ushort)UriComponents.Query) != 0) 3008if ((parts & UriComponents.Fragment) != 0 && m_Info.Offset.Fragment < m_Info.Offset.End) 3011if(parts != UriComponents.Fragment) 3014if ((nonCanonical & (ushort)UriComponents.Fragment) != 0) 3068private string GetUriPartsFromUserString(UriComponents uriParts) { 3072switch (uriParts & ~UriComponents.KeepDelimiter) { 3074case UriComponents.Scheme | UriComponents.Host | UriComponents.Port: 3082case UriComponents.HostAndPort: //Host|StrongPort 3085goto case UriComponents.StrongAuthority; 3094case UriComponents.AbsoluteUri: //Scheme|UserInfo|Host|Port|Path|Query|Fragment, 3101case UriComponents.HttpRequestUrl: //Scheme|Host|Port|Path|Query, 3112case UriComponents.SchemeAndServer|UriComponents.UserInfo: 3116case (UriComponents.AbsoluteUri & ~UriComponents.Fragment): 3124case UriComponents.Scheme: 3125if (uriParts != UriComponents.Scheme) 3131case UriComponents.Host: 3141case UriComponents.Path: 3144if (uriParts == UriComponents.Path && InFact(Flags.AuthorityFound) && 3156case UriComponents.Query: 3158if (uriParts == UriComponents.Query) 3168case UriComponents.Fragment: 3170if (uriParts == UriComponents.Fragment) 3180case UriComponents.UserInfo | UriComponents.Host | UriComponents.Port: 3184case UriComponents.StrongAuthority: //UserInfo|Host|StrongPort 3186goto case UriComponents.UserInfo | UriComponents.Host | UriComponents.Port; 3191case UriComponents.PathAndQuery: //Path|Query, 3194case UriComponents.HttpRequestUrl|UriComponents.Fragment: //Scheme|Host|Port|Path|Query|Fragment, 3204case UriComponents.PathAndQuery|UriComponents.Fragment: //LocalUrl|Fragment 3207case UriComponents.UserInfo: 3213if (uriParts == UriComponents.UserInfo) 3356string escapedPath = EscapeUnescapeIri(m_originalUnicodeString, offset, origIdx, UriComponents.Path); 3478string escapedPath = EscapeUnescapeIri(m_originalUnicodeString, offset, origIdx, UriComponents.Query); 3536string escapedPath = EscapeUnescapeIri(m_originalUnicodeString, offset, origIdx, UriComponents.Fragment); 3974userInfoString = IriHelper.EscapeUnescapeIri(pString, startInput, start + 1, UriComponents.UserInfo); 5036string share = basePart.GetParts(UriComponents.Path | UriComponents.KeepDelimiter, 5046+ basePart.GetParts(UriComponents.Host, UriFormat.Unescaped) 5051+ basePart.GetParts(UriComponents.Host, uriFormat) 5079left = basePart.GetParts(UriComponents.Scheme|UriComponents.UserInfo, uriFormat) 5081+ basePart.GetParts(UriComponents.KeepDelimiter|UriComponents.Port, uriFormat); 5084left = basePart.GetParts(UriComponents.SchemeAndServer|UriComponents.UserInfo, uriFormat); 5097left = basePart.GetParts(UriComponents.Path | UriComponents.KeepDelimiter, 5150left = basePart.GetParts(UriComponents.Scheme|UriComponents.UserInfo, uriFormat) 5152+ basePart.GetParts(UriComponents.KeepDelimiter|UriComponents.Port, uriFormat); 5164left = @"\\" + basePart.GetParts(UriComponents.Host, UriFormat.Unescaped); 5172left = basePart.GetParts(UriComponents.SchemeAndServer|UriComponents.UserInfo, uriFormat);
net\System\UriExt.cs (30)
239(UriComponents)0); 397public string GetComponents(UriComponents components, UriFormat format) 399if (((components & UriComponents.SerializationInfoString) != 0) && components != UriComponents.SerializationInfoString) 407if (components == UriComponents.SerializationInfoString) 424public static int Compare(Uri uri1, Uri uri2, UriComponents partsToCompare, UriFormat compareFormat, 672internal unsafe string EscapeUnescapeIri(string input, int start, int end, UriComponents component) 768newUriString = baseUri.GetParts(UriComponents.AbsoluteUri, 776newUriString = baseUri.GetParts(UriComponents.AbsoluteUri & ~UriComponents.Fragment, 784newUriString = baseUri.GetParts(UriComponents.AbsoluteUri & ~UriComponents.Query & ~UriComponents.Fragment, 868internal string GetComponentsHelper(UriComponents uriComponents, UriFormat uriFormat) 870if (uriComponents == UriComponents.Scheme) 874if ((uriComponents & UriComponents.SerializationInfoString) != 0) 875uriComponents |= UriComponents.AbsoluteUri; 880if ((uriComponents & UriComponents.NormalizedHost) != 0) 883uriComponents |= UriComponents.Host; 887if ((uriComponents & UriComponents.Host) != 0) 891if (uriComponents == UriComponents.Port || uriComponents == UriComponents.StrongPort) 893if (((m_Flags & Flags.NotDefaultPort) != 0) || (uriComponents == UriComponents.StrongPort 902if ((uriComponents & UriComponents.StrongPort) != 0) 905uriComponents |= UriComponents.Port; 909if (uriComponents == UriComponents.Host && (uriFormat == UriFormat.UriEscaped 976string me = GetParts(UriComponents.AbsoluteUri & ~UriComponents.Fragment, UriFormat.SafeUnescaped); 977string she = uriLink.GetParts(UriComponents.AbsoluteUri & ~UriComponents.Fragment, UriFormat.SafeUnescaped);
net\System\UriScheme.cs (3)
136protected virtual string GetComponents(Uri uri, UriComponents components, UriFormat format) 138if (((components & UriComponents.SerializationInfoString) != 0) && components != UriComponents.SerializationInfoString)
security\system\security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
179UriComponents.NormalizedHost, UriFormat.SafeUnescaped);
System.Data.Services (2)
parent\Client\System\Data\Services\Client\XmlUtil.cs (1)
65string unescaped = uri.GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
System\Data\Services\RequestUriProcessor.cs (1)
275return uri.GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped);
System.Data.Services.Client (3)
System\Data\Services\Client\DataServiceContext.cs (2)
3561.GetComponents(UriComponents.Query | UriComponents.Fragment, UriFormat.SafeUnescaped)))
System\Data\Services\Client\XmlUtil.cs (1)
65string unescaped = uri.GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
System.Runtime.Serialization (2)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
728this.value = uri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
651writer.WriteString(value.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped));
System.ServiceModel (35)
System\ServiceModel\Channels\BaseUriWithWildcard.cs (6)
257string s1 = baseAddress.GetComponents(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.Unescaped); 258string s2 = fullAddress.GetComponents(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.Unescaped); 316this.comparand.Address = this.baseAddress.GetComponents(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.UriEscaped);
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3401result = uri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
System\ServiceModel\Channels\PeerMessageDispatcher.cs (10)
173(UriComponents.Scheme | UriComponents.UserInfo | UriComponents.Host | UriComponents.Port | UriComponents.Path), 181(UriComponents.Scheme | UriComponents.UserInfo | UriComponents.Host | UriComponents.Port | UriComponents.Path),
System\ServiceModel\Channels\PeerNodeImplementation.cs (5)
688(UriComponents.Scheme | UriComponents.UserInfo | UriComponents.Host | UriComponents.Port | UriComponents.Path),
System\ServiceModel\Channels\SharedHttpTransportManager.cs (1)
539string path = ListenUri.GetComponents(UriComponents.Path, UriFormat.Unescaped);
System\ServiceModel\Channels\UriHelper.cs (3)
11return uri.GetComponents(UriComponents.NormalizedHost, UriFormat.UriEscaped); 16return uri.GetComponents(UriComponents.AbsoluteUri | UriComponents.NormalizedHost, UriFormat.UriEscaped);
System\ServiceModel\EndpointAddress.cs (7)
385string u1Path = u1.GetComponents(UriComponents.Path, UriFormat.Unescaped); 386string u2Path = u2.GetComponents(UriComponents.Path, UriFormat.Unescaped); 404UriComponents components = UriComponents.Scheme | UriComponents.Path; 408components = components | UriComponents.Port; 412components = components | UriComponents.Host;
System\UriTemplateHelpers.cs (2)
137return uri.GetComponents(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.Unescaped);
System.ServiceModel.Discovery (9)
System\ServiceModel\Discovery\DiscoveryMessageSequence.cs (1)
192this.SequenceId.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped));
System\ServiceModel\Discovery\ScopeCompiler.cs (5)
170string scheme = scope.GetComponents(UriComponents.Scheme, UriFormat.UriEscaped); 186string authority = scope.GetComponents(UriComponents.StrongAuthority, UriFormat.UriEscaped); 242guidString = scope.GetComponents(UriComponents.Path, UriFormat.UriEscaped); 295string hostport = scope.GetComponents(UriComponents.HostAndPort, UriFormat.UriEscaped); 315string dn = scope.GetComponents(UriComponents.Path, UriFormat.Unescaped);
System\ServiceModel\Discovery\SerializationUtility.cs (3)
194writer.WriteString(uris[i].GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped)); 198writer.WriteString(uris[uris.Count - 1].GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped)); 449versionDependentScopeMatchBy.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped));
System.Web.Extensions (1)
Script\Serialization\JavaScriptSerializer.cs (1)
204sb.Append("\"").Append(uri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped)).Append("\"");
System.Web.Services (2)
System\Web\Services\Discovery\DiscoveryReference.cs (1)
173return (new Uri(new Uri(baseUrl), relUrl)).GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
System\Web\Services\Protocols\RuntimeUtils.cs (1)
95return uri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped).Replace("#", "%23");
WindowsBase (20)
Base\System\IO\FileFormatException.cs (1)
164: sourceUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped),
Base\System\IO\Packaging\Package.cs (1)
445if (Uri.Compare(owningPartUri, PackUriHelper.PackageRootUri, UriComponents.SerializationInfoString, UriFormat.UriEscaped, StringComparison.Ordinal)==0)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
1163UriComponents.SerializationInfoString,
Base\System\IO\Packaging\PackageRelationshipSelector.cs (1)
59if(Uri.Compare(sourceUri,PackUriHelper.PackageRootUri, UriComponents.SerializationInfoString, UriFormat.UriEscaped, StringComparison.Ordinal) != 0)
Base\System\IO\Packaging\PackUriHelper.cs (14)
121string absolutePackageUri = packageUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped); 149packUri = new Uri(String.Concat(packUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped), fragment)); 155return new Uri(packUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped)); 231string serializedPartUri = partUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped); 442if (Uri.Compare(partUri, PackageRootUri, UriComponents.SerializationInfoString, UriFormat.UriEscaped, StringComparison.Ordinal) == 0) 809new Uri(_defaultUri, partName).GetComponents(UriComponents.Path | 810UriComponents.KeepDelimiter, UriFormat.UriEscaped); 909UriComponents.AbsoluteUri & ~UriComponents.Fragment, 927safeUnescapedUri = new Uri(partUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped), UriKind.Relative); 932new Uri(partUri.GetComponents(UriComponents.Path | 933UriComponents.KeepDelimiter, UriFormat.SafeUnescaped), UriKind.Relative); 938String partName = safeUnescapedUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped); 970String hostAndPort = packUri.GetComponents(UriComponents.HostAndPort, UriFormat.UriEscaped);
Shared\MS\Internal\ResourceIDHelper.cs (2)
61string basePath = baseUri.GetComponents(UriComponents.Path, UriFormat.UriEscaped); 62string sourcePath = sourceUri.GetComponents(UriComponents.Path, UriFormat.UriEscaped);