96 references to UriEscaped
PresentationBuildTasks (3)
Framework\System\Windows\Markup\ParserContext.cs (1)
484
string cannonicalString = sameUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
);
Shared\MS\Internal\ResourceIDHelper.cs (2)
61
string basePath = baseUri.GetComponents(UriComponents.Path, UriFormat.
UriEscaped
);
62
string sourcePath = sourceUri.GetComponents(UriComponents.Path, UriFormat.
UriEscaped
);
PresentationCore (8)
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
220
streamUri.GetComponents(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.
UriEscaped
));
Core\CSharp\System\Windows\Media\Color.cs (1)
311
String uriString = safeUnescapedUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
);
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (5)
182
PackUriHelper.GetPackageUri(uri).GetComponents(UriComponents.AbsoluteUri, UriFormat.
UriEscaped
),
218
Debug.Assert(String.Compare(partName, uri.GetComponents(UriComponents.Path, UriFormat.
UriEscaped
), StringComparison.OrdinalIgnoreCase) == 0);
390
if (Uri.Compare(sUri, SiteOfOriginBaseUri, UriComponents.Scheme, UriFormat.
UriEscaped
, StringComparison.OrdinalIgnoreCase) == 0)
396
if (String.Compare(packageUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.
UriEscaped
), _packageSiteOfOriginBaseUriEscaped, StringComparison.OrdinalIgnoreCase) == 0)
398
return (new Uri(sUri.GetComponents(UriComponents.SchemeAndServer, UriFormat.
UriEscaped
))).MakeRelativeUri(sUri);
Shared\MS\Utility\BindUriHelper.cs (1)
176
referer = sourceUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.
UriEscaped
);
PresentationFramework (2)
src\Framework\System\Windows\Markup\ParserContext.cs (1)
484
string cannonicalString = sameUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
);
src\Shared\MS\Utility\BindUriHelper.cs (1)
176
referer = 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)
125
new string[]{httpWebRequest.ChallengedUri.GetParts(UriComponents.SchemeAndServer, UriFormat.
UriEscaped
)}
323
string rawUri = remoteUri.GetParts(uriParts, UriFormat.
UriEscaped
);
384
new string[]{httpWebRequest.ChallengedUri.GetParts(UriComponents.SchemeAndServer, UriFormat.
UriEscaped
)}
558
this.Uri = httpWebRequest.RequestUri.GetParts(UriComponents.HostAndPort, UriFormat.
UriEscaped
);
564
UriFormat.
UriEscaped
);
net\System\Net\HttpWebRequest.cs (5)
4784
string scheme = _Uri.GetComponents(UriComponents.Scheme | UriComponents.KeepDelimiter, UriFormat.
UriEscaped
);
4786
string path = _Uri.GetComponents(UriComponents.Path | UriComponents.Query, UriFormat.
UriEscaped
);
4809
string scheme = _Uri.GetComponents(UriComponents.Scheme | UriComponents.KeepDelimiter, UriFormat.
UriEscaped
);
4810
string userInfo = _Uri.GetComponents(UriComponents.UserInfo | UriComponents.KeepDelimiter, UriFormat.
UriEscaped
);
4812
string path = _Uri.GetComponents(UriComponents.Path | UriComponents.Query, UriFormat.
UriEscaped
);
net\System\Net\WebPermission.cs (8)
275
m_connectList[i] is Uri? (object)((Uri)m_connectList[i]).GetComponents(UriComponents.HttpRequestUrl, UriFormat.
UriEscaped
) :
298
m_acceptList[i] is Uri? (object)((Uri)m_acceptList[i]).GetComponents(UriComponents.HttpRequestUrl, UriFormat.
UriEscaped
) :
635
if (String.Compare(regexToCheck, Regex.Escape(uri.GetComponents(UriComponents.HttpRequestUrl, UriFormat.
UriEscaped
)), StringComparison.OrdinalIgnoreCase ) == 0)
922
tempStr=Regex.Escape(uri.GetComponents(UriComponents.HttpRequestUrl, UriFormat.
UriEscaped
));
954
tempStr=Regex.Escape(uri.GetComponents(UriComponents.HttpRequestUrl, UriFormat.
UriEscaped
));
999
string s = stringUri != null? stringUri: ((Uri)uriToCheck).GetComponents(UriComponents.HttpRequestUrl, UriFormat.
UriEscaped
);
1133
string uriString = isUri? ((Uri)R).GetComponents(UriComponents.HttpRequestUrl, UriFormat.
UriEscaped
): R.ToString();
1145
string uriString = isUri? ((Uri)L).GetComponents(UriComponents.HttpRequestUrl, UriFormat.
UriEscaped
): L.ToString();
net\System\Net\WebRequest.cs (1)
388
UriFormat.
UriEscaped
)
net\System\URI.cs (27)
604
result = CombineUri(baseUri, relativeStr, dontEscape? UriFormat.
UriEscaped
: UriFormat.SafeUnescaped);
689
serializationInfo.AddValue("AbsoluteUri", GetParts(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
));
693
serializationInfo.AddValue("RelativeUri", GetParts(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
));
728
result = GetParts(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.
UriEscaped
);
750
result = GetParts(UriComponents.AbsoluteUri, UriFormat.
UriEscaped
);
787
return GetParts(UriComponents.Host | UriComponents.Port, UriFormat.
UriEscaped
);
874
string result = GetParts(UriComponents.PathAndQuery, UriFormat.
UriEscaped
);
942
return GetParts(UriComponents.Host, UriFormat.
UriEscaped
);
1179
result = GetParts(UriComponents.Query | UriComponents.KeepDelimiter, UriFormat.
UriEscaped
);
1201
result = GetParts(UriComponents.Fragment | UriComponents.KeepDelimiter, UriFormat.
UriEscaped
);
1337
return GetParts(UriComponents.UserInfo, UriFormat.
UriEscaped
);
1427
return GetParts(UriComponents.Scheme | UriComponents.KeepDelimiter, UriFormat.
UriEscaped
);
1445
return GetParts(NonPathPart, UriFormat.
UriEscaped
);
1448
return GetParts(NonPathPart | UriComponents.Path, UriFormat.
UriEscaped
);
1451
return GetParts(NonPathPart | UriComponents.Path | UriComponents.Query, UriFormat.
UriEscaped
);
1934
relativeUriString += uri.GetParts(UriComponents.Query | UriComponents.Fragment, UriFormat.
UriEscaped
);
2624
string host = m_Syntax.InternalGetComponents(this, UriComponents.Host, UriFormat.
UriEscaped
);
2667
string portStr = m_Syntax.InternalGetComponents(this, UriComponents.StrongPort, UriFormat.
UriEscaped
);
2736
return ReCreateParts(uriParts, nonCanonical, UriFormat.
UriEscaped
);
2780
int count = (m_Info.Offset.End-m_Info.Offset.User) * (formatAs == UriFormat.
UriEscaped
?12:1);
2802
case UriFormat.
UriEscaped
:
2853
if (formatAs != UriFormat.
UriEscaped
&& HostType == Flags.BasicHostType
2961
case UriFormat.
UriEscaped
:
3017
case UriFormat.
UriEscaped
:
4589
if (formatAs == UriFormat.
UriEscaped
)
4671
if (formatAs == UriFormat.
UriEscaped
&& NotAny(Flags.UserEscaped) && InFact(Flags.E_PathNotCanonical)) {
4685
if (formatAs != UriFormat.
UriEscaped
&& InFact(Flags.PathNotCanonical))
net\System\UriExt.cs (6)
769
baseUri.UserEscaped ? UriFormat.
UriEscaped
: UriFormat.SafeUnescaped);
777
UriFormat.
UriEscaped
) + relativeStr;
785
UriFormat.
UriEscaped
) + relativeStr;
834
if (format == UriFormat.
UriEscaped
)
909
if (uriComponents == UriComponents.Host && (uriFormat == UriFormat.
UriEscaped
918
case UriFormat.
UriEscaped
:
System.Data.Services (1)
System\Data\Services\RequestUriProcessor.cs (1)
275
return uri.GetComponents(UriComponents.HttpRequestUrl, UriFormat.
UriEscaped
);
System.Runtime.Serialization (2)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
728
this.value = uri.GetComponents(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
);
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
651
writer.WriteString(value.GetComponents(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
));
System.ServiceModel (4)
System\ServiceModel\Channels\BaseUriWithWildcard.cs (1)
316
this.comparand.Address = this.baseAddress.GetComponents(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.
UriEscaped
);
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3401
result = uri.GetComponents(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
);
System\ServiceModel\Channels\UriHelper.cs (2)
11
return uri.GetComponents(UriComponents.NormalizedHost, UriFormat.
UriEscaped
);
16
return uri.GetComponents(UriComponents.AbsoluteUri | UriComponents.NormalizedHost, UriFormat.
UriEscaped
);
System.ServiceModel.Discovery (8)
System\ServiceModel\Discovery\DiscoveryMessageSequence.cs (1)
192
this.SequenceId.GetComponents(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
));
System\ServiceModel\Discovery\ScopeCompiler.cs (4)
170
string scheme = scope.GetComponents(UriComponents.Scheme, UriFormat.
UriEscaped
);
186
string authority = scope.GetComponents(UriComponents.StrongAuthority, UriFormat.
UriEscaped
);
242
guidString = scope.GetComponents(UriComponents.Path, UriFormat.
UriEscaped
);
295
string hostport = scope.GetComponents(UriComponents.HostAndPort, UriFormat.
UriEscaped
);
System\ServiceModel\Discovery\SerializationUtility.cs (3)
194
writer.WriteString(uris[i].GetComponents(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
));
198
writer.WriteString(uris[uris.Count - 1].GetComponents(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
));
449
versionDependentScopeMatchBy.GetComponents(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
));
System.Web.Extensions (1)
Script\Serialization\JavaScriptSerializer.cs (1)
204
sb.Append("\"").Append(uri.GetComponents(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
)).Append("\"");
System.Web.Services (1)
System\Web\Services\Protocols\RuntimeUtils.cs (1)
95
return uri.GetComponents(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
).Replace("#", "%23");
WindowsBase (13)
Base\System\IO\Packaging\Package.cs (1)
445
if (Uri.Compare(owningPartUri, PackUriHelper.PackageRootUri, UriComponents.SerializationInfoString, UriFormat.
UriEscaped
, StringComparison.Ordinal)==0)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
1164
UriFormat.
UriEscaped
,
Base\System\IO\Packaging\PackageRelationshipSelector.cs (1)
59
if(Uri.Compare(sourceUri,PackUriHelper.PackageRootUri, UriComponents.SerializationInfoString, UriFormat.
UriEscaped
, StringComparison.Ordinal) != 0)
Base\System\IO\Packaging\PackUriHelper.cs (8)
121
string absolutePackageUri = packageUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.
UriEscaped
);
149
packUri = new Uri(String.Concat(packUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.
UriEscaped
), fragment));
155
return new Uri(packUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.
UriEscaped
));
442
if (Uri.Compare(partUri, PackageRootUri, UriComponents.SerializationInfoString, UriFormat.
UriEscaped
, StringComparison.Ordinal) == 0)
810
UriComponents.KeepDelimiter, UriFormat.
UriEscaped
);
910
UriFormat.
UriEscaped
,
938
String partName = safeUnescapedUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.
UriEscaped
);
970
String hostAndPort = packUri.GetComponents(UriComponents.HostAndPort, UriFormat.
UriEscaped
);
Shared\MS\Internal\ResourceIDHelper.cs (2)
61
string basePath = baseUri.GetComponents(UriComponents.Path, UriFormat.
UriEscaped
);
62
string sourcePath = sourceUri.GetComponents(UriComponents.Path, UriFormat.
UriEscaped
);