149 references to Absolute
ComSvcConfig (1)
ComplusEndpointConfigContainer.cs (1)
410
if (Uri.IsWellFormedUriString(uri, UriKind.
Absolute
))
PresentationCore (9)
Core\CSharp\MS\Internal\FontCache\CanonicalFontFamilyReference.cs (1)
56
if (Uri.TryCreate(locationString, UriKind.
Absolute
, out absoluteUri))
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
358
FontSource fontSource = new FontSource(new Uri(FamilyCollection.SxSFontsLocation + _systemCompositeFontsFileNames[index] + Util.CompositeFontExtension, UriKind.
Absolute
),
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (1)
442
_windowsFontsUriObject = new Uri(_windowsFontsLocalPath, UriKind.
Absolute
);
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (2)
256
fontSources.Add(new FontSource(new Uri(file, UriKind.
Absolute
), _isWindowsFonts, true));
265
fontSources.Add(new FontSource(new Uri(file, UriKind.
Absolute
), _isWindowsFonts, isComposite));
Core\CSharp\System\Windows\Media\Color.cs (1)
309
context.ProfileUri.IsAbsoluteUri ? UriKind.
Absolute
: UriKind.Relative);
Core\CSharp\System\Windows\Media\ColorContext.cs (1)
668
if (!Uri.TryCreate(profilePathString, UriKind.
Absolute
, out profilePath))
Core\CSharp\System\Windows\Media\Fonts.cs (1)
106
if (!string.IsNullOrEmpty(location) && Uri.TryCreate(location, UriKind.
Absolute
, out fontLocation))
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (1)
499
baseUri = new Uri(uri.GetLeftPart(UriPartial.Authority), UriKind.
Absolute
);
PresentationFramework (5)
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
431
SecurityHelper.DemandWebPermission(new Uri(innerURL, UriKind.
Absolute
));
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
8423
if (!Uri.IsWellFormedUriString(pictureUri, UriKind.
Absolute
))
src\Framework\System\Windows\Documents\WpfPayload.cs (1)
341
Uri payloadUri = new Uri("payload://wpf" + newWpfPayoutCount, UriKind.
Absolute
);
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
848
Uri requestedUri = new Uri(url, UriKind.
Absolute
);
src\Framework\System\Windows\SystemResources.cs (1)
966
if (Uri.TryCreate(packUri, UriKind.
Absolute
, out streamUri))
System (33)
net\System\_UriTypeConverter.cs (3)
75
m_UriKind == UriKind.RelativeOrAbsolute ? uri.IsAbsoluteUri ? UriKind.
Absolute
: UriKind.Relative : m_UriKind);
88
m_UriKind == UriKind.RelativeOrAbsolute ? uri.IsAbsoluteUri ? UriKind.
Absolute
: UriKind.Relative : m_UriKind });
96
m_UriKind == UriKind.RelativeOrAbsolute ? uri.IsAbsoluteUri ? UriKind.
Absolute
: UriKind.Relative : m_UriKind);
net\System\Net\_ServiceNameStore.cs (1)
126
if (Uri.IsWellFormedUriString(uriPrefix, UriKind.
Absolute
))
net\System\Net\_WebProxyDataBuilder.cs (1)
73
if (Uri.TryCreate(autoConfigUrl, UriKind.
Absolute
, out scriptLocation))
net\System\Net\Configuration\ProxyElement.cs (2)
105
new UriTypeConverter(UriKind.
Absolute
),
123
new UriTypeConverter(UriKind.
Absolute
),
net\System\Net\cookie.cs (1)
1392
if (Uri.TryCreate(CheckQuoted(m_tokenizer.Value), UriKind.
Absolute
, out parsed)) {
net\System\Net\cookiecontainer.cs (1)
259
if (!Uri.TryCreate(uriSb.ToString(), UriKind.
Absolute
, out uri))
net\System\Net\DNS.cs (1)
635
if (Uri.TryCreate(Uri.UriSchemeHttp + Uri.SchemeDelimiter + host, UriKind.
Absolute
, out uri))
net\System\Net\HttpListenerRequestUriBuilder.cs (3)
119
cookedUriQuery, UriKind.
Absolute
, out requestUri);
148
UriKind.
Absolute
, out requestUri);
208
if (!Uri.TryCreate(requestUriString.ToString(), UriKind.
Absolute
, out requestUri))
net\System\Net\HttpWebRequest.cs (1)
4743
return Uri.TryCreate(sb.ToString(), UriKind.
Absolute
, out hostUri);
net\System\Net\NetWebProxyFinder.cs (2)
443
bool tryParse = Uri.TryCreate("http://" + proxyAuthority, UriKind.
Absolute
, out uri);
521
bool parsed = Uri.TryCreate(url, UriKind.
Absolute
, out autoProxy);
net\System\Net\webclient.cs (1)
975
if (!Uri.TryCreate(path, UriKind.
Absolute
, out uri))
net\System\Net\WebPermission.cs (1)
383
if (Uri.TryCreate(uriString, UriKind.
Absolute
, out uri))
net\System\Net\WebRequest.cs (1)
380
if (Uri.TryCreate(prefix, UriKind.
Absolute
, out tempUri))
net\System\URI.cs (5)
399
CreateThis(uriString, false, UriKind.
Absolute
);
413
CreateThis(uriString, dontEscape, UriKind.
Absolute
);
497
CreateThis(relativeUri, dontEscape, UriKind.
Absolute
);
545
CreateThis(newUriString, dontEscape, UriKind.
Absolute
);
658
CreateThis(uriString, false, UriKind.
Absolute
);
net\System\UriExt.cs (8)
66
uriKind != UriKind.
Absolute
&&
126
if (uriKind != UriKind.
Absolute
&& err <= ParsingError.LastRelativeUriOkErrIndex)
147
if (m_iriParsing && hasUnicode && (uriKind == UriKind.
Absolute
|| err == ParsingError.None))
182
if (uriKind != UriKind.
Absolute
&& err != ParsingError.None
230
else if (err != ParsingError.None && uriKind != UriKind.
Absolute
391
result = CreateHelper(newUriString, dontEscape, UriKind.
Absolute
, ref e);
709
if (uriKind != UriKind.
Absolute
&& err <= ParsingError.LastRelativeUriOkErrIndex)
966
uriLink = CreateHelper(newUriString, dontEscape, UriKind.
Absolute
, ref e);
security\system\security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
173
if (!Uri.TryCreate(Uri.UriSchemeHttp + Uri.SchemeDelimiter + host, UriKind.
Absolute
, out constructedUri))
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
199
BitmapImage image = new BitmapImage(new Uri(uri, UriKind.
Absolute
));
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
199
BitmapImage image = new BitmapImage(new Uri(uri, UriKind.
Absolute
));
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (1)
353
Uri.TryCreate(baseUri, UriKind.
Absolute
, out uri) &&
System.Data.Services (1)
System\Data\Services\WebUtil.cs (1)
1629
if (Uri.TryCreate(scheme + hostHeader, UriKind.
Absolute
, out result))
System.Data.Services.Client (9)
System\Data\Services\Client\DataServiceContext.cs (7)
163
!Uri.IsWellFormedUriString(CommonUtil.UriToString(serviceRoot), UriKind.
Absolute
) ||
176
this.baseUriWithSlash = Util.CreateUri(serviceRootString + "/", UriKind.
Absolute
);
598
Uri metadataUri = Util.CreateUri(this.baseUriWithSlash.OriginalString + XmlConstants.UriMetadataSegment, UriKind.
Absolute
);
1633
identity = Util.CreateUri(identityUri, UriKind.
Absolute
);
1748
Uri editLink = new Uri(location, UriKind.
Absolute
);
2356
return Util.CreateUri(builder.ToString(), UriKind.
Absolute
);
5549
editLink = Util.CreateUri(location, UriKind.
Absolute
);
System\Data\Services\Client\EntityPropertyMappingAttribute.cs (1)
244
if (!Uri.TryCreate(targetNamespaceUri, UriKind.
Absolute
, out uri))
System\Data\Services\Client\Util.cs (1)
297
requestUri = Util.CreateUri(baseUri.OriginalString + "/" + requestUri.OriginalString.TrimStart(Util.ForwardSlash), UriKind.
Absolute
);
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\XmlCollation.cs (1)
154
if (!Uri.TryCreate(collationLiteral, UriKind.
Absolute
, out collationUri)) {
System\Xml\Xsl\SourceLineInfo.cs (1)
88
System.Uri.TryCreate(uriString, UriKind.
Absolute
, out uri) &&
System.IdentityModel (64)
System\IdentityModel\Metadata\MetadataSerializer.cs (6)
447
if (!UriUtil.CanCreateValidUri(claimType, UriKind.
Absolute
))
1006
if (!String.IsNullOrEmpty(algorithm) && UriUtil.CanCreateValidUri(algorithm, UriKind.
Absolute
))
1683
if (!UriUtil.CanCreateValidUri(nameId, UriKind.
Absolute
))
1841
if (!UriUtil.TryCreateValidUri(tokenType, UriKind.
Absolute
, out tokenTypeUri))
2100
if (!UriUtil.CanCreateValidUri(claim.ClaimType, UriKind.
Absolute
))
3206
if (!UriUtil.CanCreateValidUri(value, UriKind.
Absolute
))
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (3)
76
if (!UriUtil.CanCreateValidUri(rst.KeyWrapAlgorithm, UriKind.
Absolute
))
133
if (!UriUtil.CanCreateValidUri(rst.KeyWrapAlgorithm, UriKind.
Absolute
))
324
if (!UriUtil.CanCreateValidUri(secondaryParameters.KeyWrapAlgorithm, UriKind.
Absolute
))
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (42)
94
if (!UriUtil.CanCreateValidUri(rst.TokenType, UriKind.
Absolute
))
176
if ((rst.Claims.Dialect != null) && !UriUtil.CanCreateValidUri(rst.Claims.Dialect, UriKind.
Absolute
))
411
if (!UriUtil.CanCreateValidUri(rst.SignWith, UriKind.
Absolute
))
422
if (!UriUtil.CanCreateValidUri(rst.EncryptWith, UriKind.
Absolute
))
439
if (!UriUtil.CanCreateValidUri(rst.AuthenticationType, UriKind.
Absolute
))
450
if (!UriUtil.CanCreateValidUri(rst.EncryptionAlgorithm, UriKind.
Absolute
))
461
if (!UriUtil.CanCreateValidUri(rst.CanonicalizationAlgorithm, UriKind.
Absolute
))
472
if (!UriUtil.CanCreateValidUri(rst.SignatureAlgorithm, UriKind.
Absolute
))
607
if (string.IsNullOrEmpty(attrValue) || !UriUtil.TryCreateValidUri(attrValue, UriKind.
Absolute
, out name))
614
if (!string.IsNullOrEmpty(attrValue) && !UriUtil.TryCreateValidUri(attrValue, UriKind.
Absolute
, out scope))
922
if ((claims.Dialect != null) && !UriUtil.CanCreateValidUri(claims.Dialect, UriKind.
Absolute
))
980
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
991
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
1075
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
1086
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
1119
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
1130
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
1141
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
1152
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
1565
if (!UriUtil.CanCreateValidUri(rstr.TokenType, UriKind.
Absolute
))
1582
if (!UriUtil.CanCreateValidUri(rstr.AuthenticationType, UriKind.
Absolute
))
1593
if (!UriUtil.CanCreateValidUri(rstr.EncryptionAlgorithm, UriKind.
Absolute
))
1604
if (!UriUtil.CanCreateValidUri(rstr.CanonicalizationAlgorithm, UriKind.
Absolute
))
1615
if (!UriUtil.CanCreateValidUri(rstr.SignatureAlgorithm, UriKind.
Absolute
))
1626
if (!UriUtil.CanCreateValidUri(rstr.SignWith, UriKind.
Absolute
))
1637
if (!UriUtil.CanCreateValidUri(rstr.EncryptWith, UriKind.
Absolute
))
1962
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
1973
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
1990
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
2001
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
2012
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
2023
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
2034
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
2045
if (!UriUtil.CanCreateValidUri((string)elementValue, UriKind.
Absolute
))
2095
if (!UriUtil.CanCreateValidUri(computedKeyAlgorithm, UriKind.
Absolute
))
2125
if (!UriUtil.CanCreateValidUri(computedKeyAlgorithm, UriKind.
Absolute
))
2140
if (!UriUtil.CanCreateValidUri(computedKeyAlgorithmAsStr, UriKind.
Absolute
))
2212
if (!UriUtil.TryCreateValidUri(attrValue, UriKind.
Absolute
, out valueType))
2226
if (!UriUtil.TryCreateValidUri(attrValue, UriKind.
Absolute
, out encodingType))
2444
if (!UriUtil.CanCreateValidUri(requestType, UriKind.
Absolute
))
2711
if (!UriUtil.CanCreateValidUri(incomingKeyType, UriKind.
Absolute
))
2751
if (!UriUtil.CanCreateValidUri(keyType, UriKind.
Absolute
))
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (1)
151
else if (Uri.IsWellFormedUriString(this.allowedAudienceUris[j], UriKind.
Absolute
))
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (11)
924
return ReadSimpleUriElement(reader, UriKind.
Absolute
);
1100
if (!UriUtil.CanCreateValidUri(nameFormat, UriKind.
Absolute
))
1372
if (!UriUtil.TryCreateValidUri(this.DenormalizeAuthenticationType(authenticationMethod), UriKind.
Absolute
, out saml2AuthenticationClass))
1464
if (nameIdentifierFormat != null && UriUtil.CanCreateValidUri(nameIdentifierFormat, UriKind.
Absolute
))
2383
if (!UriUtil.CanCreateValidUri(attributeValue, UriKind.
Absolute
))
3000
if (!UriUtil.CanCreateValidUri(value, UriKind.
Absolute
))
3903
if (!UriUtil.CanCreateValidUri(value, UriKind.
Absolute
))
4605
if (!UriUtil.CanCreateValidUri(value, UriKind.
Absolute
))
4642
if (!UriUtil.CanCreateValidUri(nameIdentifier.Value, UriKind.
Absolute
))
5130
if (!UriUtil.CanCreateValidUri(method, UriKind.
Absolute
))
5305
if (!UriUtil.CanCreateValidUri(value, UriKind.
Absolute
))
System\IdentityModel\Tokens\SecurityTokenDescriptor.cs (1)
55
if (!UriUtil.CanCreateValidUri(value, UriKind.
Absolute
))
System.ServiceModel (9)
System\ServiceModel\Administration\EndpointInstanceProvider.cs (1)
49
if (Uri.TryCreate(address, UriKind.
Absolute
, out uri))
System\ServiceModel\Description\ConfigLoader.cs (1)
412
if (!Uri.TryCreate(cookedAddress, UriKind.
Absolute
, out uri))
System\ServiceModel\Description\ServiceMetadataExtension.cs (2)
220
if (!Uri.TryCreate(hostUriString, UriKind.
Absolute
, out hostUri))
1952
else if (Uri.TryCreate(text, UriKind.
Absolute
, out uri))
System\ServiceModel\Description\ServiceReflector.cs (1)
30
if (Uri.IsWellFormedUriString(path, UriKind.
Absolute
) || path == String.Empty)
System\ServiceModel\EndpointAddress.cs (2)
899
if (!Uri.TryCreate(address, UriKind.
Absolute
, out uri))
966
if (!Uri.TryCreate(address, UriKind.
Absolute
, out uri))
System\ServiceModel\Transactions\OletxTransactionHeader.cs (1)
130
if (!Uri.TryCreate(identifier, UriKind.
Absolute
, out uri))
System\ServiceModel\Transactions\WsatRegistrationHeader.cs (1)
161
!Uri.TryCreate(contextId, UriKind.
Absolute
, out uri))
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\SerializationUtility.cs (2)
82
if (uriKind == UriKind.
Absolute
)
350
SerializationUtility.ParseUriList(listOfUrisAsString, scopes, UriKind.
Absolute
);
System.Web (7)
Security\FormsAuthentication.cs (1)
914
if (!Uri.TryCreate(path, UriKind.
Absolute
, out absUri))
UI\WebControls\XmlDataSource.cs (2)
448
bool success = Uri.TryCreate(path, UriKind.
Absolute
, out uri);
497
bool success = Uri.TryCreate(DataFile, UriKind.
Absolute
, out uri);
Util\UriUtil.cs (1)
161
if (isValidScheme && Uri.TryCreate(inputWithoutQueryFragment, UriKind.
Absolute
, out uri)) {
Util\UrlPath.cs (1)
723
if (!Uri.TryCreate(absUriOrLocalPath, UriKind.
Absolute
, out absUri)) {
WebSockets\WebSocketUtil.cs (2)
38
bool urisCreatedSuccessfully = Uri.TryCreate(workerRequest.GetProtocol() + "://" + hostHeader.Trim(), UriKind.
Absolute
, out hostHeaderUri) // RFC 2616 (Sec. 14.23): "Host" header doesn't contain the scheme, so we need to prepend
39
&& Uri.TryCreate(secWebSocketOriginHeader.Trim(), UriKind.
Absolute
, out originHeaderUri);
System.Web.Extensions (2)
Compilation\WCFModel\AsmxEndpointPickerExtension.cs (1)
134
if (!System.Uri.TryCreate(location, UriKind.
Absolute
, out uri))
UI\ScriptResourceMapping.cs (1)
44
!Uri.IsWellFormedUriString(path, UriKind.
Absolute
)) { // http://...
System.Web.Services (2)
System\Web\Services\Description\WebServicesInteroperability.cs (2)
298
bool isAbsoluteUri = Uri.TryCreate(ns, UriKind.
Absolute
, out uri);
473
bool isAbsoluteUri = Uri.TryCreate(ns, UriKind.
Absolute
, out uri);