96 references to UriEscaped
PresentationBuildTasks (3)
Framework\System\Windows\Markup\ParserContext.cs (1)
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 (8)
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
220streamUri.GetComponents(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.UriEscaped));
Core\CSharp\System\Windows\Media\Color.cs (1)
311String uriString = safeUnescapedUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
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 (1)
176referer = sourceUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped);
PresentationFramework (2)
src\Framework\System\Windows\Markup\ParserContext.cs (1)
484string cannonicalString = sameUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
src\Shared\MS\Utility\BindUriHelper.cs (1)
176referer = sourceUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped);
System (53)
net\System\Net\_AuthenticationManagerBase.cs (1)
231& ~(UriComponents.Query | UriComponents.Fragment), UriFormat.UriEscaped);
net\System\Net\_DigestClient.cs (5)
125new string[]{httpWebRequest.ChallengedUri.GetParts(UriComponents.SchemeAndServer, UriFormat.UriEscaped)} 323string rawUri = remoteUri.GetParts(uriParts, UriFormat.UriEscaped); 384new string[]{httpWebRequest.ChallengedUri.GetParts(UriComponents.SchemeAndServer, UriFormat.UriEscaped)} 558this.Uri = httpWebRequest.RequestUri.GetParts(UriComponents.HostAndPort, UriFormat.UriEscaped); 564UriFormat.UriEscaped);
net\System\Net\HttpWebRequest.cs (5)
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);
net\System\Net\WebPermission.cs (8)
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); 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 (1)
388UriFormat.UriEscaped)
net\System\URI.cs (27)
604result = CombineUri(baseUri, relativeStr, dontEscape? UriFormat.UriEscaped: UriFormat.SafeUnescaped); 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); 1179result = GetParts(UriComponents.Query | UriComponents.KeepDelimiter, UriFormat.UriEscaped); 1201result = GetParts(UriComponents.Fragment | UriComponents.KeepDelimiter, UriFormat.UriEscaped); 1337return GetParts(UriComponents.UserInfo, UriFormat.UriEscaped); 1427return GetParts(UriComponents.Scheme | UriComponents.KeepDelimiter, UriFormat.UriEscaped); 1445return GetParts(NonPathPart, UriFormat.UriEscaped); 1448return GetParts(NonPathPart | UriComponents.Path, UriFormat.UriEscaped); 1451return GetParts(NonPathPart | UriComponents.Path | UriComponents.Query, UriFormat.UriEscaped); 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); 2736return ReCreateParts(uriParts, nonCanonical, UriFormat.UriEscaped); 2780int count = (m_Info.Offset.End-m_Info.Offset.User) * (formatAs == UriFormat.UriEscaped?12:1); 2802case UriFormat.UriEscaped: 2853if (formatAs != UriFormat.UriEscaped && HostType == Flags.BasicHostType 2961case UriFormat.UriEscaped: 3017case UriFormat.UriEscaped: 4589if (formatAs == UriFormat.UriEscaped) 4671if (formatAs == UriFormat.UriEscaped && NotAny(Flags.UserEscaped) && InFact(Flags.E_PathNotCanonical)) { 4685if (formatAs != UriFormat.UriEscaped && InFact(Flags.PathNotCanonical))
net\System\UriExt.cs (6)
769baseUri.UserEscaped ? UriFormat.UriEscaped : UriFormat.SafeUnescaped); 777UriFormat.UriEscaped) + relativeStr; 785UriFormat.UriEscaped) + relativeStr; 834if (format == UriFormat.UriEscaped) 909if (uriComponents == UriComponents.Host && (uriFormat == UriFormat.UriEscaped 918case UriFormat.UriEscaped:
System.Data.Services (1)
System\Data\Services\RequestUriProcessor.cs (1)
275return uri.GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped);
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 (4)
System\ServiceModel\Channels\BaseUriWithWildcard.cs (1)
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\UriHelper.cs (2)
11return uri.GetComponents(UriComponents.NormalizedHost, UriFormat.UriEscaped); 16return uri.GetComponents(UriComponents.AbsoluteUri | UriComponents.NormalizedHost, UriFormat.UriEscaped);
System.ServiceModel.Discovery (8)
System\ServiceModel\Discovery\DiscoveryMessageSequence.cs (1)
192this.SequenceId.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped));
System\ServiceModel\Discovery\ScopeCompiler.cs (4)
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);
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 (1)
System\Web\Services\Protocols\RuntimeUtils.cs (1)
95return uri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped).Replace("#", "%23");
WindowsBase (13)
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)
1164UriFormat.UriEscaped,
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 (8)
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)); 442if (Uri.Compare(partUri, PackageRootUri, UriComponents.SerializationInfoString, UriFormat.UriEscaped, StringComparison.Ordinal) == 0) 810UriComponents.KeepDelimiter, UriFormat.UriEscaped); 910UriFormat.UriEscaped, 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);