336 references to UriComponents
PresentationBuildTasks (4)
Framework\System\Windows\Markup\ParserContext.cs (2)
482
string serializedSafe = parserContext.BaseUri.GetComponents(
UriComponents
.SerializationInfoString, UriFormat.SafeUnescaped);
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 (22)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (7)
409
internal const
UriComponents
UriWithoutFragment =
UriComponents
.AbsoluteUri & ~
UriComponents
.Fragment;
446
_windowsFontsUriString = _windowsFontsUriObject.GetComponents(
UriComponents
.AbsoluteUri, UriFormat.SafeUnescaped);
656
string fragment = fontUri.GetComponents(
UriComponents
.Fragment, UriFormat.SafeUnescaped);
687
string canonicalPathUri = new Uri(fontUri).GetComponents(
UriComponents
.AbsoluteUri, UriFormat.SafeUnescaped);
755
string unescapedPath = uri.GetComponents(
UriComponents
.Path, UriFormat.Unescaped);
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (1)
104
string path = uri.GetComponents(
UriComponents
.Path, UriFormat.SafeUnescaped);
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
120
return _fontUri.GetComponents(
UriComponents
.AbsoluteUri, UriFormat.SafeUnescaped);
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (2)
220
streamUri.GetComponents(
UriComponents
.Path |
UriComponents
.KeepDelimiter, UriFormat.UriEscaped));
Core\CSharp\System\Windows\Media\Color.cs (2)
308
Uri safeUnescapedUri = new Uri(context.ProfileUri.GetComponents(
UriComponents
.SerializationInfoString, UriFormat.SafeUnescaped),
311
String uriString = safeUnescapedUri.GetComponents(
UriComponents
.SerializationInfoString, UriFormat.UriEscaped);
Core\CSharp\System\Windows\Media\Fonts.cs (1)
114
location = fontLocation.GetComponents(
UriComponents
.AbsoluteUri, UriFormat.SafeUnescaped);
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 (3)
69
uri.IsAbsoluteUri ?
UriComponents
.AbsoluteUri :
UriComponents
.SerializationInfoString,
176
referer = sourceUri.GetComponents(
UriComponents
.AbsoluteUri, UriFormat.UriEscaped);
PresentationFramework (6)
src\Framework\System\Windows\Markup\ParserContext.cs (2)
482
string serializedSafe = parserContext.BaseUri.GetComponents(
UriComponents
.SerializationInfoString, UriFormat.SafeUnescaped);
484
string cannonicalString = sameUri.GetComponents(
UriComponents
.SerializationInfoString, UriFormat.UriEscaped);
src\Framework\System\Windows\Markup\XamlParseException.cs (1)
300
bamlFilePath = resourceUri.GetComponents(
UriComponents
.Path, UriFormat.Unescaped);
src\Shared\MS\Utility\BindUriHelper.cs (3)
69
uri.IsAbsoluteUri ?
UriComponents
.AbsoluteUri :
UriComponents
.SerializationInfoString,
176
referer = sourceUri.GetComponents(
UriComponents
.AbsoluteUri, UriFormat.UriEscaped);
System (230)
net\System\_UriSyntax.cs (1)
412
internal string InternalGetComponents(Uri thisUri,
UriComponents
uriComponents, UriFormat uriFormat)
net\System\IriHelper.cs (18)
81
internal static bool CheckIsReserved(char ch,
UriComponents
component)
83
if ((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)
92
return (component == (
UriComponents
)0) ? Uri.IsGenDelim(ch) : false;
100
case
UriComponents
.UserInfo:
104
case
UriComponents
.Host:
108
case
UriComponents
.Path:
112
case
UriComponents
.Query:
116
case
UriComponents
.Fragment:
135
internal static unsafe string EscapeUnescapeIri(char* pInput, int start, int end,
UriComponents
component)
246
byteCount, component ==
UriComponents
.Query, true);
276
escape = !CheckIriUnicodeRange(ch, ch2, ref surrogatePair, component ==
UriComponents
.Query);
288
if (CheckIriUnicodeRange(ch, component ==
UriComponents
.Query))
net\System\Net\_AuthenticationManagerBase.cs (3)
230
string completeUri = location.GetComponents(
UriComponents
.AbsoluteUri
231
& ~(
UriComponents
.Query |
UriComponents
.Fragment), UriFormat.UriEscaped);
net\System\Net\_AuthenticationState.cs (5)
121
string spnKey = httpWebRequest.ChallengedUri.GetParts(
UriComponents
.Scheme |
UriComponents
.Host |
UriComponents
.Port |
UriComponents
.Path, UriFormat.SafeUnescaped);
169
spnKey = httpWebRequest.ChallengedUri.GetParts(
UriComponents
.SchemeAndServer, UriFormat.SafeUnescaped) + "/";
net\System\Net\_DigestClient.cs (7)
125
new string[]{httpWebRequest.ChallengedUri.GetParts(
UriComponents
.SchemeAndServer, UriFormat.UriEscaped)}
311
UriComponents
uriParts = 0;
314
uriParts =
UriComponents
.HostAndPort;
319
uriParts =
UriComponents
.PathAndQuery;
384
new string[]{httpWebRequest.ChallengedUri.GetParts(
UriComponents
.SchemeAndServer, UriFormat.UriEscaped)}
558
this.Uri = httpWebRequest.RequestUri.GetParts(
UriComponents
.HostAndPort, UriFormat.UriEscaped);
563
this.Uri = "/" + httpWebRequest.GetRemoteResourceUri().GetParts(
UriComponents
.Path,
net\System\Net\_FtpControlStream.cs (1)
781
path = uri.GetComponents(
UriComponents
.Path,UriFormat.Unescaped);
net\System\Net\_SpnDictionary.cs (4)
197
key = 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)
637
result = uri.GetComponents(
UriComponents
.NormalizedHost, UriFormat.SafeUnescaped);
net\System\Net\FtpWebRequest.cs (9)
2049
cacheUri = new Uri(cacheUri.GetParts(
UriComponents
.AbsoluteUri & ~(
UriComponents
.Fragment|
UriComponents
.UserInfo), UriFormat.SafeUnescaped));
2052
username = cacheUri.GetParts((
UriComponents
.Scheme |
UriComponents
.KeepDelimiter), UriFormat.SafeUnescaped) + username + '@';
2053
username += cacheUri.GetParts((
UriComponents
.Host |
UriComponents
.Port |
UriComponents
.Path |
UriComponents
.Query), UriFormat.SafeUnescaped);
net\System\Net\HttpWebRequest.cs (13)
4215
cacheUri = new Uri(cacheUri.GetParts(
UriComponents
.AbsoluteUri & ~
UriComponents
.Fragment, UriFormat.SafeUnescaped));
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);
5784
_RedirectedToDifferentHost = Uri.Compare(_OriginUri, _Uri,
UriComponents
.HostAndPort,
net\System\Net\WebPermission.cs (9)
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);
1012
s = ((Uri)uriToCheck).GetComponents(
UriComponents
.HttpRequestUrl, UriFormat.SafeUnescaped);
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 (2)
387
&& tempUri.GetComponents(
UriComponents
.PathAndQuery |
UriComponents
.Fragment,
net\System\URI.cs (122)
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);
1135
return GetUnescapedParts(
UriComponents
.Path |
UriComponents
.KeepDelimiter, UriFormat.Unescaped);
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);
1422
const
UriComponents
NonPathPart = (
UriComponents
.Scheme |
UriComponents
.UserInfo |
UriComponents
.Host |
UriComponents
.Port);
1427
return GetParts(
UriComponents
.Scheme |
UriComponents
.KeepDelimiter, UriFormat.UriEscaped);
1448
return GetParts(NonPathPart |
UriComponents
.Path, UriFormat.UriEscaped);
1451
return GetParts(NonPathPart |
UriComponents
.Path |
UriComponents
.Query, UriFormat.UriEscaped);
1643
chkString = GetParts(
UriComponents
.HttpRequestUrl, UriFormat.SafeUnescaped);
1675
m_Info.String = GetComponentsHelper(
UriComponents
.AbsoluteUri, V1ToStringUnescape);
1677
m_Info.String = GetParts(
UriComponents
.AbsoluteUri, UriFormat.SafeUnescaped);
1871
me = GetParts(
UriComponents
.HttpRequestUrl, UriFormat.SafeUnescaped);
1876
she = obj.GetParts(
UriComponents
.HttpRequestUrl, UriFormat.SafeUnescaped);
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);
2701
internal string GetParts(
UriComponents
uriParts, UriFormat formatAs)
2709
private string GetEscapedParts(
UriComponents
uriParts) {
2719
if ((uriParts &
UriComponents
.Path) != 0) {
2739
private string GetUnescapedParts(
UriComponents
uriParts, UriFormat formatAs) {
2746
if ((uriParts &
UriComponents
.Path) != 0) {
2770
private string ReCreateParts(
UriComponents
parts, ushort nonCanonical, UriFormat formatAs)
2774
string stemp = (parts &
UriComponents
.Host) == 0? string.Empty: m_Info.Host;
2785
if ((parts &
UriComponents
.Scheme) != 0) {
2788
if (parts !=
UriComponents
.Scheme) {
2798
if ((parts &
UriComponents
.UserInfo) != 0 && InFact(Flags.HasUserInfo))
2800
if ((nonCanonical & (ushort)
UriComponents
.UserInfo) != 0) {
2842
if (parts ==
UriComponents
.UserInfo)
2850
if ((parts &
UriComponents
.Host) != 0 && stemp.Length != 0)
2854
&& (nonCanonical & (ushort)
UriComponents
.Host) != 0) {
2865
if ((parts &
UriComponents
.NormalizedHost) != 0)
2889
if ((parts &
UriComponents
.SerializationInfoString) != 0 && HostType == Flags.IPv6HostType &&
2899
if ((parts &
UriComponents
.Port) != 0)
2901
if ((nonCanonical & (ushort)
UriComponents
.Port) == 0) {
2911
else if ((parts &
UriComponents
.StrongPort) != 0 && m_Syntax.DefaultPort != UriParser.NoDefaultPort) {
2918
else if (InFact(Flags.NotDefaultPort) || ((parts &
UriComponents
.StrongPort) != 0 &&
2931
if ((parts &
UriComponents
.Path) != 0)
2936
if (parts ==
UriComponents
.Path)
2951
if ((parts &
UriComponents
.Query) != 0 && m_Info.Offset.Query < m_Info.Offset.Fragment)
2954
if(parts !=
UriComponents
.Query)
2957
if ((nonCanonical & (ushort)
UriComponents
.Query) != 0)
3008
if ((parts &
UriComponents
.Fragment) != 0 && m_Info.Offset.Fragment < m_Info.Offset.End)
3011
if(parts !=
UriComponents
.Fragment)
3014
if ((nonCanonical & (ushort)
UriComponents
.Fragment) != 0)
3068
private string GetUriPartsFromUserString(
UriComponents
uriParts) {
3072
switch (uriParts & ~
UriComponents
.KeepDelimiter) {
3074
case
UriComponents
.Scheme |
UriComponents
.Host |
UriComponents
.Port:
3082
case
UriComponents
.HostAndPort: //Host|StrongPort
3085
goto case
UriComponents
.StrongAuthority;
3094
case
UriComponents
.AbsoluteUri: //Scheme|UserInfo|Host|Port|Path|Query|Fragment,
3101
case
UriComponents
.HttpRequestUrl: //Scheme|Host|Port|Path|Query,
3112
case
UriComponents
.SchemeAndServer|
UriComponents
.UserInfo:
3116
case (
UriComponents
.AbsoluteUri & ~
UriComponents
.Fragment):
3124
case
UriComponents
.Scheme:
3125
if (uriParts !=
UriComponents
.Scheme)
3131
case
UriComponents
.Host:
3141
case
UriComponents
.Path:
3144
if (uriParts ==
UriComponents
.Path && InFact(Flags.AuthorityFound) &&
3156
case
UriComponents
.Query:
3158
if (uriParts ==
UriComponents
.Query)
3168
case
UriComponents
.Fragment:
3170
if (uriParts ==
UriComponents
.Fragment)
3180
case
UriComponents
.UserInfo |
UriComponents
.Host |
UriComponents
.Port:
3184
case
UriComponents
.StrongAuthority: //UserInfo|Host|StrongPort
3186
goto case
UriComponents
.UserInfo |
UriComponents
.Host |
UriComponents
.Port;
3191
case
UriComponents
.PathAndQuery: //Path|Query,
3194
case
UriComponents
.HttpRequestUrl|
UriComponents
.Fragment: //Scheme|Host|Port|Path|Query|Fragment,
3204
case
UriComponents
.PathAndQuery|
UriComponents
.Fragment: //LocalUrl|Fragment
3207
case
UriComponents
.UserInfo:
3213
if (uriParts ==
UriComponents
.UserInfo)
3356
string escapedPath = EscapeUnescapeIri(m_originalUnicodeString, offset, origIdx,
UriComponents
.Path);
3478
string escapedPath = EscapeUnescapeIri(m_originalUnicodeString, offset, origIdx,
UriComponents
.Query);
3536
string escapedPath = EscapeUnescapeIri(m_originalUnicodeString, offset, origIdx,
UriComponents
.Fragment);
3974
userInfoString = IriHelper.EscapeUnescapeIri(pString, startInput, start + 1,
UriComponents
.UserInfo);
5036
string share = basePart.GetParts(
UriComponents
.Path |
UriComponents
.KeepDelimiter,
5046
+ basePart.GetParts(
UriComponents
.Host, UriFormat.Unescaped)
5051
+ basePart.GetParts(
UriComponents
.Host, uriFormat)
5079
left = basePart.GetParts(
UriComponents
.Scheme|
UriComponents
.UserInfo, uriFormat)
5081
+ basePart.GetParts(
UriComponents
.KeepDelimiter|
UriComponents
.Port, uriFormat);
5084
left = basePart.GetParts(
UriComponents
.SchemeAndServer|
UriComponents
.UserInfo, uriFormat);
5097
left = basePart.GetParts(
UriComponents
.Path |
UriComponents
.KeepDelimiter,
5150
left = basePart.GetParts(
UriComponents
.Scheme|
UriComponents
.UserInfo, uriFormat)
5152
+ basePart.GetParts(
UriComponents
.KeepDelimiter|
UriComponents
.Port, uriFormat);
5164
left = @"\\" + basePart.GetParts(
UriComponents
.Host, UriFormat.Unescaped);
5172
left = basePart.GetParts(
UriComponents
.SchemeAndServer|
UriComponents
.UserInfo, uriFormat);
net\System\UriExt.cs (30)
239
(
UriComponents
)0);
397
public string GetComponents(
UriComponents
components, UriFormat format)
399
if (((components &
UriComponents
.SerializationInfoString) != 0) && components !=
UriComponents
.SerializationInfoString)
407
if (components ==
UriComponents
.SerializationInfoString)
424
public static int Compare(Uri uri1, Uri uri2,
UriComponents
partsToCompare, UriFormat compareFormat,
672
internal unsafe string EscapeUnescapeIri(string input, int start, int end,
UriComponents
component)
768
newUriString = baseUri.GetParts(
UriComponents
.AbsoluteUri,
776
newUriString = baseUri.GetParts(
UriComponents
.AbsoluteUri & ~
UriComponents
.Fragment,
784
newUriString = baseUri.GetParts(
UriComponents
.AbsoluteUri & ~
UriComponents
.Query & ~
UriComponents
.Fragment,
868
internal string GetComponentsHelper(
UriComponents
uriComponents, UriFormat uriFormat)
870
if (uriComponents ==
UriComponents
.Scheme)
874
if ((uriComponents &
UriComponents
.SerializationInfoString) != 0)
875
uriComponents |=
UriComponents
.AbsoluteUri;
880
if ((uriComponents &
UriComponents
.NormalizedHost) != 0)
883
uriComponents |=
UriComponents
.Host;
887
if ((uriComponents &
UriComponents
.Host) != 0)
891
if (uriComponents ==
UriComponents
.Port || uriComponents ==
UriComponents
.StrongPort)
893
if (((m_Flags & Flags.NotDefaultPort) != 0) || (uriComponents ==
UriComponents
.StrongPort
902
if ((uriComponents &
UriComponents
.StrongPort) != 0)
905
uriComponents |=
UriComponents
.Port;
909
if (uriComponents ==
UriComponents
.Host && (uriFormat == UriFormat.UriEscaped
976
string me = GetParts(
UriComponents
.AbsoluteUri & ~
UriComponents
.Fragment, UriFormat.SafeUnescaped);
977
string she = uriLink.GetParts(
UriComponents
.AbsoluteUri & ~
UriComponents
.Fragment, UriFormat.SafeUnescaped);
net\System\UriScheme.cs (3)
136
protected virtual string GetComponents(Uri uri,
UriComponents
components, UriFormat format)
138
if (((components &
UriComponents
.SerializationInfoString) != 0) && components !=
UriComponents
.SerializationInfoString)
security\system\security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
179
UriComponents
.NormalizedHost, UriFormat.SafeUnescaped);
System.Data.Services (2)
parent\Client\System\Data\Services\Client\XmlUtil.cs (1)
65
string unescaped = uri.GetComponents(
UriComponents
.AbsoluteUri, UriFormat.SafeUnescaped);
System\Data\Services\RequestUriProcessor.cs (1)
275
return 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)
65
string unescaped = uri.GetComponents(
UriComponents
.AbsoluteUri, UriFormat.SafeUnescaped);
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 (35)
System\ServiceModel\Channels\BaseUriWithWildcard.cs (6)
257
string s1 = baseAddress.GetComponents(
UriComponents
.Path |
UriComponents
.KeepDelimiter, UriFormat.Unescaped);
258
string s2 = fullAddress.GetComponents(
UriComponents
.Path |
UriComponents
.KeepDelimiter, UriFormat.Unescaped);
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\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)
539
string path = ListenUri.GetComponents(
UriComponents
.Path, UriFormat.Unescaped);
System\ServiceModel\Channels\UriHelper.cs (3)
11
return uri.GetComponents(
UriComponents
.NormalizedHost, UriFormat.UriEscaped);
16
return uri.GetComponents(
UriComponents
.AbsoluteUri |
UriComponents
.NormalizedHost, UriFormat.UriEscaped);
System\ServiceModel\EndpointAddress.cs (7)
385
string u1Path = u1.GetComponents(
UriComponents
.Path, UriFormat.Unescaped);
386
string u2Path = u2.GetComponents(
UriComponents
.Path, UriFormat.Unescaped);
404
UriComponents
components =
UriComponents
.Scheme |
UriComponents
.Path;
408
components = components |
UriComponents
.Port;
412
components = components |
UriComponents
.Host;
System\UriTemplateHelpers.cs (2)
137
return uri.GetComponents(
UriComponents
.Path |
UriComponents
.KeepDelimiter, UriFormat.Unescaped);
System.ServiceModel.Discovery (9)
System\ServiceModel\Discovery\DiscoveryMessageSequence.cs (1)
192
this.SequenceId.GetComponents(
UriComponents
.SerializationInfoString, UriFormat.UriEscaped));
System\ServiceModel\Discovery\ScopeCompiler.cs (5)
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);
315
string dn = scope.GetComponents(
UriComponents
.Path, UriFormat.Unescaped);
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 (2)
System\Web\Services\Discovery\DiscoveryReference.cs (1)
173
return (new Uri(new Uri(baseUrl), relUrl)).GetComponents(
UriComponents
.AbsoluteUri, UriFormat.SafeUnescaped);
System\Web\Services\Protocols\RuntimeUtils.cs (1)
95
return 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)
445
if (Uri.Compare(owningPartUri, PackUriHelper.PackageRootUri,
UriComponents
.SerializationInfoString, UriFormat.UriEscaped, StringComparison.Ordinal)==0)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
1163
UriComponents
.SerializationInfoString,
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 (14)
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));
231
string serializedPartUri = partUri.GetComponents(
UriComponents
.SerializationInfoString, UriFormat.SafeUnescaped);
442
if (Uri.Compare(partUri, PackageRootUri,
UriComponents
.SerializationInfoString, UriFormat.UriEscaped, StringComparison.Ordinal) == 0)
809
new Uri(_defaultUri, partName).GetComponents(
UriComponents
.Path |
810
UriComponents
.KeepDelimiter, UriFormat.UriEscaped);
909
UriComponents
.AbsoluteUri & ~
UriComponents
.Fragment,
927
safeUnescapedUri = new Uri(partUri.GetComponents(
UriComponents
.SerializationInfoString, UriFormat.SafeUnescaped), UriKind.Relative);
932
new Uri(partUri.GetComponents(
UriComponents
.Path |
933
UriComponents
.KeepDelimiter, UriFormat.SafeUnescaped), UriKind.Relative);
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);