358 references to UriKind
ComSvcConfig (5)
ComplusEndpointConfigContainer.cs (2)
382
if (Uri.IsWellFormedUriString(uri,
UriKind
.RelativeOrAbsolute))
410
if (Uri.IsWellFormedUriString(uri,
UriKind
.Absolute))
Tool.cs (2)
223
new Uri(address,
UriKind
.RelativeOrAbsolute),
234
new Uri(container.DefaultMexAddress(sourceAppId, component.Component),
UriKind
.RelativeOrAbsolute),
WasEndpointConfigContainer.cs (1)
233
if (Uri.IsWellFormedUriString(uri,
UriKind
.RelativeOrAbsolute))
PresentationBuildTasks (1)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
2600
CodeFieldReferenceExpression cfreRelUri = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(System.
UriKind
)), "Relative");
PresentationCore (19)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
322
return new Uri(new Uri(codeBase), new Uri(".",
UriKind
.Relative));
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\MS\Internal\FontFace\CompositeFontParser.cs (2)
893
throw new FileFormatException(new Uri(_reader.BaseURI,
UriKind
.RelativeOrAbsolute), x);
963
throw new FileFormatException(new Uri(fileName,
UriKind
.RelativeOrAbsolute), message, innerException);
Core\CSharp\System\Windows\Media\Color.cs (2)
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 (4)
204
Uri partUri = new Uri(uri.AbsolutePath,
UriKind
.Relative);
498
source = new Uri(uri.AbsolutePath,
UriKind
.Relative);
499
baseUri = new Uri(uri.GetLeftPart(UriPartial.Authority),
UriKind
.Absolute);
553
return new Uri(appendedUri,
UriKind
.Relative);
Shared\MS\Internal\SecurityHelper.cs (2)
1275
if (String.Compare((System.Windows.Navigation.BaseUriHelper.GetResolvedUri(System.Windows.Navigation.BaseUriHelper.BaseUri, new Uri(uri,
UriKind
.RelativeOrAbsolute))).Scheme,
1280
if(!SecurityHelper.CallerHasWebPermission(new Uri(uri,
UriKind
.RelativeOrAbsolute)))
Shared\System\Windows\Media\TypeConverterHelper.cs (1)
70
uriHolder.OriginalUri = new Uri((string)inputString,
UriKind
.RelativeOrAbsolute);
PresentationFramework (25)
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (1)
113
return MS.Internal.MimeTypeMapper.GetMimeTypeFromUri(new Uri(Uri.ToString(),
UriKind
.RelativeOrAbsolute)).ToString();
src\Framework\MS\Internal\AppModel\ResourcePart.cs (1)
126
return MS.Internal.MimeTypeMapper.GetMimeTypeFromUri(new Uri(_name,
UriKind
.RelativeOrAbsolute)).ToString();
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (2)
916
if (!Uri.IsWellFormedUriString(xmlNamespace,
UriKind
.RelativeOrAbsolute))
920
Uri namespaceUri = new Uri(xmlNamespace,
UriKind
.RelativeOrAbsolute);
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
431
SecurityHelper.DemandWebPermission(new Uri(innerURL,
UriKind
.Absolute));
src\Framework\System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
240
Uri uri = new Uri(ns,
UriKind
.RelativeOrAbsolute);
src\Framework\System\Windows\Documents\DocumentReference.cs (1)
86
DocumentsTrace.FixedDocumentSequence.IDF.Trace(string.Format("DocumentReference.GetDocument ({0}, {1})", Source == null ? new Uri("",
UriKind
.RelativeOrAbsolute) : Source, forceReload));
src\Framework\System\Windows\Documents\FixedPage.cs (3)
677
inputUri = new Uri(inputUriStringWithoutFragment,
UriKind
.RelativeOrAbsolute);
685
inputUri = new Uri(startPartUriString,
UriKind
.RelativeOrAbsolute);
698
absoluteUri = new Uri(absoluteUriString.ToString(),
UriKind
.RelativeOrAbsolute);
src\Framework\System\Windows\Documents\FixedSchema.cs (1)
168
Uri targetUri = PackUriHelper.ResolvePartUri(_baseUri, new Uri(uriAttr,
UriKind
.Relative));
src\Framework\System\Windows\Documents\FixedSOMImage.cs (2)
65
imageUri = new Uri(imageSource.ToString(),
UriKind
.RelativeOrAbsolute);
86
imageUri = new Uri(imageSource.ToString(),
UriKind
.RelativeOrAbsolute);
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
8423
if (!Uri.IsWellFormedUriString(pictureUri,
UriKind
.Absolute))
src\Framework\System\Windows\Documents\WpfPayload.cs (5)
341
Uri payloadUri = new Uri("payload://wpf" + newWpfPayoutCount,
UriKind
.Absolute);
488
Uri imagePartUri = new Uri(XamlPayloadDirectory + imagePartUriString,
UriKind
.Relative);
724
Uri imagePartUri = new Uri(XamlPayloadDirectory + imagePartUriString,
UriKind
.Relative);
743
Uri imagePartUri = new Uri(XamlPayloadDirectory + imageSourceString,
UriKind
.Relative);
808
Uri entryPartUri = new Uri(XamlPayloadDirectory + XamlEntryName,
UriKind
.Relative);
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
848
Uri requestedUri = new Uri(url,
UriKind
.Absolute);
src\Framework\System\Windows\Markup\ParserContext.cs (1)
122
_baseUri = new Uri(xmlParserContext.BaseURI,
UriKind
.RelativeOrAbsolute);
src\Framework\System\Windows\Navigation\JournalEntry.cs (1)
385
BaseUriHelper.GetAssemblyNameAndPart(new Uri(relativeUri,
UriKind
.Relative), out part, out assy, out assyVers, out assyKey);
src\Framework\System\Windows\ResourceDictionary.cs (1)
2556
public ResourceDictionarySourceUriWrapper(Uri originalUri, Uri versionedUri) : base(originalUri.OriginalString,
UriKind
.RelativeOrAbsolute)
src\Framework\System\Windows\SystemResources.cs (1)
966
if (Uri.TryCreate(packUri,
UriKind
.Absolute, out streamUri))
src\Framework\System\Windows\ThemeDictionaryExtension.cs (1)
131
return new System.Uri(uri.ToString(), System.
UriKind
.RelativeOrAbsolute);
System (65)
net\System\_UriTypeConverter.cs (13)
27
private
UriKind
m_UriKind;
30
public UriTypeConverter() : this(
UriKind
.RelativeOrAbsolute) { }
32
internal UriTypeConverter(
UriKind
uriKind)
75
m_UriKind ==
UriKind
.RelativeOrAbsolute ? uri.IsAbsoluteUri ?
UriKind
.Absolute :
UriKind
.Relative : m_UriKind);
86
ConstructorInfo ci = typeof(Uri).GetConstructor(BindingFlags.Public | BindingFlags.Instance, null, new Type[]{typeof(string), typeof(
UriKind
)}, null);
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\HttpListenerRequest.cs (1)
547
bool success = Uri.TryCreate(referrer,
UriKind
.RelativeOrAbsolute, out urlReferrer);
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\mail\Attachment.cs (1)
271
if (!Uri.TryCreate(part.ContentLocation,
UriKind
.RelativeOrAbsolute, out uri))
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 (10)
399
CreateThis(uriString, false,
UriKind
.Absolute);
413
CreateThis(uriString, dontEscape,
UriKind
.Absolute);
436
public Uri(string uriString,
UriKind
uriKind)
465
CreateThis(relativeUri, dontEscape,
UriKind
.RelativeOrAbsolute);
497
CreateThis(relativeUri, dontEscape,
UriKind
.Absolute);
545
CreateThis(newUriString, dontEscape,
UriKind
.Absolute);
658
CreateThis(uriString, false,
UriKind
.Absolute);
666
CreateThis(uriString, false,
UriKind
.Relative);
1754
if (!TryCreate(s,
UriKind
.RelativeOrAbsolute, out obj))
1936
return new Uri(relativeUriString,
UriKind
.Relative);
net\System\uribuilder.cs (1)
46
Uri tryUri = new Uri(uri,
UriKind
.RelativeOrAbsolute);
net\System\UriExt.cs (22)
32
private void CreateThis(string uri, bool dontEscape,
UriKind
uriKind)
36
if ((int)uriKind < (int)
UriKind
.RelativeOrAbsolute || (int)uriKind > (int)
UriKind
.Relative) {
53
private void InitializeUri(ParsingError err,
UriKind
uriKind, out UriFormatException e)
66
uriKind !=
UriKind
.Absolute &&
67
(uriKind ==
UriKind
.Relative || (m_String.Length >= 2 && (m_String[0] != '\\' || m_String[1] != '\\'))))
81
else if (uriKind ==
UriKind
.Relative && InFact(Flags.DosPath))
126
if (uriKind !=
UriKind
.Absolute && err <= ParsingError.LastRelativeUriOkErrIndex)
136
else if (uriKind ==
UriKind
.Relative)
147
if (m_iriParsing && hasUnicode && (uriKind ==
UriKind
.Absolute || err == ParsingError.None))
182
if (uriKind !=
UriKind
.Absolute && err != ParsingError.None
197
else if (uriKind ==
UriKind
.Relative)
230
else if (err != ParsingError.None && uriKind !=
UriKind
.Absolute
334
public static bool TryCreate(string uriString,
UriKind
uriKind, out Uri result)
349
if (TryCreate(relativeUri,
UriKind
.RelativeOrAbsolute, out relativeLink))
391
result = CreateHelper(newUriString, dontEscape,
UriKind
.Absolute, ref e);
458
public static bool IsWellFormedUriString(string uriString,
UriKind
uriKind)
690
internal static Uri CreateHelper(string uriString, bool dontEscape,
UriKind
uriKind, ref UriFormatException e)
694
if ((int)uriKind < (int)
UriKind
.RelativeOrAbsolute || (int)uriKind > (int)
UriKind
.Relative){
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.Core.Presentation (1)
System\ServiceModel\Activities\Presentation\MessagingContentPropertyEditorResources.xaml.cs (1)
25
UriKind
.RelativeOrAbsolute);
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
968
UriKind
.RelativeOrAbsolute));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\PropertyInspectorResources.cs (1)
94
UriKind
.RelativeOrAbsolute);
System.Activities.Presentation\System\Activities\Presentation\View\EditorResources.cs (1)
25
UriKind
.RelativeOrAbsolute);
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (2)
117
UriKind
.RelativeOrAbsolute);
135
UriKind
.RelativeOrAbsolute);
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (3)
128
Uri resourceUri = new Uri(string.Concat(typeof(WorkflowDesignerIcons).Assembly.GetName().Name, @";component/Themes/Icons.WindowsApp.xaml"),
UriKind
.RelativeOrAbsolute);
166
Uri resourceUri = new Uri(string.Concat(typeof(WorkflowDesignerIcons).Assembly.GetName().Name, @";component/Themes/Icons.Default.xaml"),
UriKind
.RelativeOrAbsolute);
199
BitmapImage image = new BitmapImage(new Uri(uri,
UriKind
.Absolute));
System.Core (1)
System\Security\Cryptography\X509Certificates\AuthenticodeSignatureInformation.cs (1)
40
Uri.TryCreate(descriptionUrl,
UriKind
.RelativeOrAbsolute, out m_descriptionUrl);
System.Data (8)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
968
UriKind
.RelativeOrAbsolute));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\PropertyInspectorResources.cs (1)
94
UriKind
.RelativeOrAbsolute);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\EditorResources.cs (1)
25
UriKind
.RelativeOrAbsolute);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (2)
117
UriKind
.RelativeOrAbsolute);
135
UriKind
.RelativeOrAbsolute);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (3)
128
Uri resourceUri = new Uri(string.Concat(typeof(WorkflowDesignerIcons).Assembly.GetName().Name, @";component/Themes/Icons.WindowsApp.xaml"),
UriKind
.RelativeOrAbsolute);
166
Uri resourceUri = new Uri(string.Concat(typeof(WorkflowDesignerIcons).Assembly.GetName().Name, @";component/Themes/Icons.Default.xaml"),
UriKind
.RelativeOrAbsolute);
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 (9)
parent\Client\System\Data\Services\Client\XmlUtil.cs (2)
36
uri = new Uri(CommonUtil.UriToString(uri).ToUpper(CultureInfo.InvariantCulture),
UriKind
.RelativeOrAbsolute);
57
uri = new Uri(value,
UriKind
.RelativeOrAbsolute);
System\Data\Services\Providers\DataServiceStreamProviderWrapper.cs (1)
299
return new Uri(DataServiceStreamProviderWrapper.GetStreamEditMediaUri(mediaLinkEntryUri),
UriKind
.RelativeOrAbsolute);
System\Data\Services\RequestUriProcessor.cs (1)
235
Uri referenceAsUri = new Uri(reference,
UriKind
.RelativeOrAbsolute);
System\Data\Services\Serializers\SyndicationSerializer.cs (4)
144
link.Uri = new Uri(href,
UriKind
.RelativeOrAbsolute);
341
link.Uri = new Uri(relativeUri,
UriKind
.Relative);
582
var uri = new Uri(relativeUri,
UriKind
.Relative);
1077
link.Uri = new Uri(propertyRelativeUri,
UriKind
.RelativeOrAbsolute);
System\Data\Services\WebUtil.cs (1)
1629
if (Uri.TryCreate(scheme + hostHeader,
UriKind
.Absolute, out result))
System.Data.Services.Client (29)
System\Data\Services\Client\ALinq\UriWriter.cs (1)
68
uri = Util.CreateUri(context.BaseUriWithSlash, Util.CreateUri(writer.uriBuilder.ToString(),
UriKind
.Relative));
System\Data\Services\Client\AtomParser.cs (4)
546
targetEntry.MediaContentUri = new Uri(propertyValue,
UriKind
.RelativeOrAbsolute);
928
Uri idUri = Util.CreateUri(idText,
UriKind
.RelativeOrAbsolute);
1042
Uri uri = Util.CreateUri(href,
UriKind
.RelativeOrAbsolute);
1045
Uri baseUri = Util.CreateUri(this.reader.BaseURI,
UriKind
.RelativeOrAbsolute);
System\Data\Services\Client\ClientConvert.cs (1)
184
return Util.CreateUri(propertyValue,
UriKind
.RelativeOrAbsolute);
System\Data\Services\Client\DataServiceContext.cs (13)
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);
2718
relative = Util.CreateUri(XmlConstants.UriLinkSegment + "/" + CommonUtil.UriToString(navigationPropertyUri),
UriKind
.Relative);
2722
relative = Util.CreateUri(XmlConstants.UriLinkSegment + "/" + binding.SourceProperty,
UriKind
.Relative);
3267
relativeUri = Util.CreateUri(XmlConstants.UriValueSegment,
UriKind
.Relative);
3271
relativeUri = Util.CreateUri(propertyName + (null != property.CollectionType ? "()" : String.Empty),
UriKind
.Relative);
3558
Uri tmp = Util.CreateUri(entitySetName,
UriKind
.RelativeOrAbsolute);
5050
Uri requestUri = Util.CreateUri(this.Context.baseUriWithSlash, Util.CreateUri("$batch",
UriKind
.Relative));
5549
editLink = Util.CreateUri(location,
UriKind
.Absolute);
System\Data\Services\Client\EntityDescriptor.cs (4)
386
Util.CreateUri(baseUriWithSlash, new Uri("$" + this.parentDescriptor.ChangeOrder.ToString(CultureInfo.InvariantCulture),
UriKind
.Relative)),
387
Util.CreateUri(this.parentProperty,
UriKind
.Relative));
479
return Util.CreateUri(this.entitySetName,
UriKind
.Relative);
483
return Util.CreateUri(this.parentProperty,
UriKind
.Relative);
System\Data\Services\Client\EntityPropertyMappingAttribute.cs (1)
244
if (!Uri.TryCreate(targetNamespaceUri,
UriKind
.Absolute, out uri))
System\Data\Services\Client\Util.cs (3)
266
internal static Uri CreateUri(string value,
UriKind
kind)
288
requestUri = new Uri(baseUri, Util.CreateUri(requestUri.OriginalString.TrimStart(Util.ForwardSlash),
UriKind
.Relative));
297
requestUri = Util.CreateUri(baseUri.OriginalString + "/" + requestUri.OriginalString.TrimStart(Util.ForwardSlash),
UriKind
.Absolute);
System\Data\Services\Client\Xml\XmlWrappingReader.cs (1)
468
newBaseUri = Util.CreateUri(baseAttribute,
UriKind
.RelativeOrAbsolute);
System\Data\Services\Client\XmlUtil.cs (1)
57
uri = new Uri(value,
UriKind
.RelativeOrAbsolute);
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 (83)
System\IdentityModel\Configuration\IdentityConfiguration.cs (2)
563
handlerConfiguration.AudienceRestriction.AllowedAudienceUris.Add(new Uri(audienceUriElement.Value,
UriKind
.RelativeOrAbsolute));
664
handlerConfiguration.AudienceRestriction.AllowedAudienceUris.Add(new Uri(audienceUriElement.Value,
UriKind
.RelativeOrAbsolute));
System\IdentityModel\Metadata\MetadataSerializer.cs (14)
447
if (!UriUtil.CanCreateValidUri(claimType,
UriKind
.Absolute))
896
if (!UriUtil.TryCreateValidUri(binding,
UriKind
.RelativeOrAbsolute, out bindingUri))
904
if (!UriUtil.TryCreateValidUri(location,
UriKind
.RelativeOrAbsolute, out locationUri))
923
if (!UriUtil.TryCreateValidUri(responseLocation,
UriKind
.RelativeOrAbsolute, out responseUri))
1006
if (!String.IsNullOrEmpty(algorithm) && UriUtil.CanCreateValidUri(algorithm,
UriKind
.Absolute))
1145
if (!UriUtil.TryCreateValidUri(uriContent,
UriKind
.RelativeOrAbsolute, out uri))
1330
if (!UriUtil.TryCreateValidUri(binding,
UriKind
.RelativeOrAbsolute, out bindingUri))
1338
if (!UriUtil.TryCreateValidUri(location,
UriKind
.RelativeOrAbsolute, out locationUri))
1348
if (!UriUtil.TryCreateValidUri(responseLocation,
UriKind
.RelativeOrAbsolute, out responseUri))
1413
if (!UriUtil.TryCreateValidUri(errorUrlString,
UriKind
.RelativeOrAbsolute, out errorUrl))
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\Saml2AuthorizationDecisionStatement.cs (1)
22
public static readonly Uri EmptyResource = new Uri(string.Empty,
UriKind
.Relative);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (16)
924
return ReadSimpleUriElement(reader,
UriKind
.Absolute);
928
internal static Uri ReadSimpleUriElement(XmlReader reader,
UriKind
kind)
934
internal static Uri ReadSimpleUriElement(XmlReader reader,
UriKind
kind, bool allowLaxReading)
957
throw DiagnosticUtility.ThrowHelperXml(reader, SR.GetString(kind ==
UriKind
.RelativeOrAbsolute ? SR.ID0019 : SR.ID0013));
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))
3455
audienceRestriction = new Saml2AudienceRestriction(ReadSimpleUriElement(reader,
UriKind
.RelativeOrAbsolute, true));
3458
audienceRestriction.Audiences.Add(ReadSimpleUriElement(reader,
UriKind
.RelativeOrAbsolute, true));
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\SamlSecurityTokenHandler.cs (1)
2101
audienceRestrictionCondition.Audiences.Add(new Uri(audience,
UriKind
.RelativeOrAbsolute));
System\IdentityModel\Tokens\SecurityTokenDescriptor.cs (1)
55
if (!UriUtil.CanCreateValidUri(value,
UriKind
.Absolute))
System\IdentityModel\UriUtil.cs (2)
21
public static bool CanCreateValidUri(string uriString,
UriKind
uriKind)
37
public static bool TryCreateValidUri(string uriString,
UriKind
uriKind, out Uri result)
System.Runtime.Serialization (4)
System\Runtime\Serialization\CodeExporter.cs (1)
1493
if (Uri.TryCreate(dataContractNamespace,
UriKind
.RelativeOrAbsolute, out uri))
System\Runtime\Serialization\DataContract.cs (1)
1778
if (Uri.TryCreate(dataContractNs,
UriKind
.RelativeOrAbsolute, out uri))
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
768
return new Uri(str,
UriKind
.RelativeOrAbsolute);
785
return new Uri(str,
UriKind
.RelativeOrAbsolute);
System.Security (1)
system\security\cryptography\xml\reference.cs (1)
415
System.Uri uri = new System.Uri(m_uri,
UriKind
.RelativeOrAbsolute);
System.ServiceModel (39)
System\ServiceModel\Administration\EndpointInstanceProvider.cs (1)
49
if (Uri.TryCreate(address,
UriKind
.Absolute, out uri))
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3393
if (Uri.TryCreate(value,
UriKind
.RelativeOrAbsolute, out uri))
System\ServiceModel\Description\ConfigLoader.cs (1)
412
if (!Uri.TryCreate(cookedAddress,
UriKind
.Absolute, out uri))
System\ServiceModel\Description\MetadataLocation.cs (1)
36
if (!Uri.TryCreate(value,
UriKind
.RelativeOrAbsolute, out uri))
System\ServiceModel\Description\ServiceDebugBehavior.cs (3)
184
mex.HttpHelpPageUrl = host.GetVia(Uri.UriSchemeHttp, this.httpHelpPageUrl == null ? new Uri(string.Empty,
UriKind
.Relative) : this.httpHelpPageUrl);
188
mex.HttpsHelpPageUrl = host.GetVia(Uri.UriSchemeHttps, this.httpsHelpPageUrl == null ? new Uri(string.Empty,
UriKind
.Relative) : this.httpsHelpPageUrl);
194
Uri address = host.GetVia(scheme, url == null ? new Uri(string.Empty,
UriKind
.Relative) : url);
System\ServiceModel\Description\ServiceMetadataBehavior.cs (4)
24
static readonly Uri emptyUri = new Uri(String.Empty,
UriKind
.Relative);
235
Uri address = host.GetVia(scheme, url == null ? new Uri(string.Empty,
UriKind
.Relative) : url);
254
mex.HttpGetUrl = host.GetVia(Uri.UriSchemeHttp, this.httpGetUrl == null ? new Uri(string.Empty,
UriKind
.Relative) : this.httpGetUrl);
255
mex.HttpsGetUrl = host.GetVia(Uri.UriSchemeHttps, this.httpsGetUrl == null ? new Uri(string.Empty,
UriKind
.Relative) : this.httpsGetUrl);
System\ServiceModel\Description\ServiceMetadataExtension.cs (3)
27
static readonly Uri EmptyUri = new Uri(String.Empty,
UriKind
.Relative);
220
if (!Uri.TryCreate(hostUriString,
UriKind
.Absolute, out hostUri))
1952
else if (Uri.TryCreate(text,
UriKind
.Absolute, out uri))
System\ServiceModel\Description\ServiceReflector.cs (3)
30
if (Uri.IsWellFormedUriString(path,
UriKind
.Absolute) || path == String.Empty)
146
if (!Uri.TryCreate(ns,
UriKind
.RelativeOrAbsolute, out uri))
153
if (!Uri.TryCreate(ns,
UriKind
.RelativeOrAbsolute, out uri))
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\ServiceConfiguration.cs (1)
204
return this.AddServiceEndpoint(contractType, binding, new Uri(address,
UriKind
.RelativeOrAbsolute));
System\ServiceModel\ServiceHost.cs (4)
32
internal static readonly Uri EmptyUri = new Uri(string.Empty,
UriKind
.RelativeOrAbsolute);
327
ServiceEndpoint endpoint = this.AddServiceEndpoint(implementedContract, binding, new Uri(address,
UriKind
.RelativeOrAbsolute));
435
Uri absoluteUri = MakeAbsoluteUri(new Uri(relativeAddress,
UriKind
.Relative), endpoint.Binding);
1731
ServiceEndpoint endpoint = this.AddServiceEndpoint(implementedContract, binding, new Uri(address,
UriKind
.RelativeOrAbsolute));
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (3)
308
result.ImageUrl = new Uri(reader.ReadElementString(),
UriKind
.RelativeOrAbsolute);
736
result = new UrlSyndicationContent(new Uri(src,
UriKind
.RelativeOrAbsolute), type);
1082
link.Uri = (val != null) ? new Uri(val,
UriKind
.RelativeOrAbsolute) : null;
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (3)
157
ReadReferencedCategories(reader, referencedCategories, baseUri, new Uri(link,
UriKind
.RelativeOrAbsolute), version, preserveElementExtensions, preserveAttributeExtensions, maxExtensionSize);
461
result.Link = new Uri(reader.Value,
UriKind
.RelativeOrAbsolute);
564
result.BaseUri = new Uri(reader.Value,
UriKind
.RelativeOrAbsolute);
System\ServiceModel\Syndication\FeedUtils.cs (1)
82
Uri newBaseUri = new Uri(newBase,
UriKind
.RelativeOrAbsolute);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (6)
506
link.Uri = new Uri(uri,
UriKind
.RelativeOrAbsolute);
685
feed.Links.Add(SyndicationLink.CreateSelfLink(new Uri(val,
UriKind
.RelativeOrAbsolute)));
737
result.Links.Add(SyndicationLink.CreateAlternateLink(new Uri(fallbackAlternateLink,
UriKind
.RelativeOrAbsolute)));
783
link.Uri = new Uri(val,
UriKind
.RelativeOrAbsolute);
916
result.BaseUri = new Uri(baseUri,
UriKind
.RelativeOrAbsolute);
981
result.ImageUrl = new Uri(reader.ReadElementString(),
UriKind
.RelativeOrAbsolute);
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.Activities (3)
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (1)
144
Uri controlEndpointAddress = ServiceHost.GetVia(controlEndpointBinding.Scheme, new Uri(ControlEndpointAddress,
UriKind
.Relative), workflowServiceHost.InternalBaseAddresses);
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (1)
29
new EndpointAddress(new Uri(WorkflowControlEndpoint.DefaultBaseUri, new Uri(Guid.NewGuid().ToString(),
UriKind
.Relative))))
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
292
return AddServiceEndpoint(serviceContractName, binding, new Uri(address,
UriKind
.RelativeOrAbsolute), listenUri, behaviorConfigurationName);
System.ServiceModel.Discovery (6)
System\ServiceModel\Discovery\DiscoveryMessageSequence.cs (1)
161
this.SequenceId = new Uri(sequenceIdString,
UriKind
.RelativeOrAbsolute);
System\ServiceModel\Discovery\SerializationUtility.cs (5)
66
public static void ParseUriList(string listOfUrisAsString, Collection<Uri> uriCollection,
UriKind
uriKind)
82
if (uriKind ==
UriKind
.Absolute)
326
scopeMatchBy = new Uri(scopeMatchByStr,
UriKind
.RelativeOrAbsolute);
350
SerializationUtility.ParseUriList(listOfUrisAsString, scopes,
UriKind
.Absolute);
372
SerializationUtility.ParseUriList(listOfUrisAsString, listenUris,
UriKind
.RelativeOrAbsolute);
System.ServiceModel.Web (2)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (1)
173
if (Uri.TryCreate(ns,
UriKind
.RelativeOrAbsolute, out uri))
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
142
return (!string.IsNullOrEmpty(parameter)) ? new Uri(parameter,
UriKind
.RelativeOrAbsolute) : null;
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);
System.WorkflowServices (2)
System\ServiceModel\WorkflowServiceHost.cs (2)
87
return this.AddServiceEndpoint(implementedContract, binding, new Uri(address,
UriKind
.RelativeOrAbsolute));
102
return this.AddServiceEndpoint(implementedContract, binding, new Uri(address,
UriKind
.RelativeOrAbsolute), listenUri);
System.Xml (14)
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
895
validator.BaseUri = ( resolver == null ) ? new Uri( outerReader.BaseURI,
UriKind
.RelativeOrAbsolute ) : resolver.ResolveUri( null, outerReader.BaseURI );
System\Xml\Resolvers\XmlPreloadedResolver.cs (4)
185
return new Uri(relativeUri,
UriKind
.Relative);
193
return new Uri(relativeUri,
UriKind
.Relative);
351
mappings.Add(new Uri(dtdInfo.publicId,
UriKind
.RelativeOrAbsolute), dtdInfo);
352
mappings.Add(new Uri(dtdInfo.systemId,
UriKind
.RelativeOrAbsolute), dtdInfo);
System\Xml\Schema\Parser.cs (1)
85
schema.BaseUri = new Uri(reader.BaseURI,
UriKind
.RelativeOrAbsolute);
System\Xml\Schema\ParserAsync.cs (1)
45
schema.BaseUri = new Uri(reader.BaseURI,
UriKind
.RelativeOrAbsolute);
System\Xml\Schema\XmlSchemaSet.cs (3)
328
Uri schemaUri = new Uri(schemaDocument.BaseURI,
UriKind
.RelativeOrAbsolute);
822
if (FindSchemaByNSAndUrl(new Uri(reader.BaseURI,
UriKind
.RelativeOrAbsolute), targetNamespace, null) != null) {
832
if (IsSchemaLoaded(new Uri(reader.BaseURI,
UriKind
.RelativeOrAbsolute), targetNamespace, out schema)) {
System\Xml\XmlConvert.cs (2)
1377
if (!Uri.TryCreate(s,
UriKind
.RelativeOrAbsolute, out uri)) {
1393
if (!Uri.TryCreate(s,
UriKind
.RelativeOrAbsolute, out result)) {
System\Xml\XmlResolver.cs (1)
50
Uri uri = new Uri( relativeUri,
UriKind
.RelativeOrAbsolute );
System\Xml\XmlSecureResolver.cs (1)
49
Uri uri = new Uri(securityUrl,
UriKind
.RelativeOrAbsolute);
WindowsBase (19)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
406
Uri targetUri = new Uri(targetAttributeValue,
UriKind
.RelativeOrAbsolute);
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (1)
822
return PackUriHelper.CreatePartUri(new Uri(propertyPartName,
UriKind
.Relative));
Base\MS\Internal\IO\Packaging\PieceNameHelper.cs (1)
332
Uri partUri = new Uri(ZipPackage.GetOpcNameFromZipItemName(parseResults.PrefixName),
UriKind
.Relative);
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (1)
616
uri = PackUriHelper.ValidatePartUri(new Uri(attrValue.Substring(0, index),
UriKind
.Relative));
Base\System\IO\FileFormatException.cs (1)
138
_sourceUri = new Uri(sourceUriString,
UriKind
.RelativeOrAbsolute);
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (3)
573
CertificatePart.PartNamePrefix + exSigner.SerialNumber + CertificatePart.PartNameExtension,
UriKind
.Relative));
1267
Guid.NewGuid().ToString(_guidStorageFormatString, (IFormatProvider)null) + _defaultSignaturePartNameExtension,
UriKind
.Relative));
1403
private static Uri _defaultOriginPartName = PackUriHelper.CreatePartUri(new Uri("/package/services/digital-signature/origin.psdsor",
UriKind
.Relative));
Base\System\IO\Packaging\PackageRelationship.cs (1)
276
private static readonly Uri _containerRelationshipPartName = PackUriHelper.CreatePartUri(new Uri("/_rels/.rels",
UriKind
.Relative));
Base\System\IO\Packaging\PackUriHelper.cs (6)
284
return new Uri(resolvedUri.AbsolutePath,
UriKind
.Relative);
927
safeUnescapedUri = new Uri(partUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped),
UriKind
.Relative);
933
UriComponents.KeepDelimiter, UriFormat.SafeUnescaped),
UriKind
.Relative);
994
return ValidatePartUri(new Uri(partName,
UriKind
.Relative));
1011
private static readonly Uri _packageRootUri = new Uri("/",
UriKind
.Relative);
1189
: base(partUriString,
UriKind
.Relative)
Base\System\IO\Packaging\ZipPackage.cs (4)
274
Uri partUri = new Uri(GetOpcNameFromZipItemName(zipInfo.Name),
UriKind
.Relative);
304
Uri partUri = new Uri(GetOpcNameFromZipItemName(zipInfo.Name),
UriKind
.Relative);
1343
new Uri(TemporaryPartNameWithoutExtension + extensionAttributeValue,
UriKind
.Relative));
1371
PackUriHelper.ValidatedPartUri partUri = PackUriHelper.ValidatePartUri(new Uri(partNameAttributeValue,
UriKind
.Relative));