148 references to Uri
ComSvcConfig (2)
Tool.cs (2)
223
new
Uri
(address, UriKind.RelativeOrAbsolute),
234
new
Uri
(container.DefaultMexAddress(sourceAppId, component.Component), UriKind.RelativeOrAbsolute),
PresentationCore (15)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
322
return new Uri(new Uri(codeBase), new
Uri
(".", UriKind.Relative));
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 (1)
308
Uri safeUnescapedUri = new
Uri
(context.ProfileUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped),
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 (22)
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 (1)
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\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\ThemeDictionaryExtension.cs (1)
131
return new System.
Uri
(uri.ToString(), System.UriKind.RelativeOrAbsolute);
System (5)
net\System\_UriTypeConverter.cs (3)
70
return new
Uri
(uriString, m_UriKind);
74
return new
Uri
(uri.OriginalString,
95
return new
Uri
(uri.OriginalString,
net\System\URI.cs (1)
1936
return new
Uri
(relativeUriString, UriKind.Relative);
net\System\uribuilder.cs (1)
46
Uri tryUri = new
Uri
(uri, UriKind.RelativeOrAbsolute);
System.Activities.Core.Presentation (1)
System\ServiceModel\Activities\Presentation\MessagingContentPropertyEditorResources.xaml.cs (1)
21
Uri resourceLocator = new
Uri
(
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
964
image.Source = new BitmapImage(new
Uri
(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\PropertyInspectorResources.cs (1)
90
Uri resourceLocator = new
Uri
(
System.Activities.Presentation\System\Activities\Presentation\View\EditorResources.cs (1)
21
Uri resourceLocator = new
Uri
(
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (2)
113
Uri resourceLocator = new
Uri
(
131
Uri resourceLocator = new
Uri
(
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 (8)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
964
image.Source = new BitmapImage(new
Uri
(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\PropertyInspectorResources.cs (1)
90
Uri resourceLocator = new
Uri
(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\EditorResources.cs (1)
21
Uri resourceLocator = new
Uri
(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (2)
113
Uri resourceLocator = new
Uri
(
131
Uri resourceLocator = new
Uri
(
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.Services (8)
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.Client (5)
System\Data\Services\Client\AtomParser.cs (1)
546
targetEntry.MediaContentUri = new
Uri
(propertyValue, UriKind.RelativeOrAbsolute);
System\Data\Services\Client\DataServiceContext.cs (1)
1748
Uri editLink = new
Uri
(location, UriKind.Absolute);
System\Data\Services\Client\EntityDescriptor.cs (1)
386
Util.CreateUri(baseUriWithSlash, new
Uri
("$" + this.parentDescriptor.ChangeOrder.ToString(CultureInfo.InvariantCulture), UriKind.Relative)),
System\Data\Services\Client\Util.cs (1)
268
return value == null ? null : new
Uri
(value, kind);
System\Data\Services\Client\XmlUtil.cs (1)
57
uri = new
Uri
(value, UriKind.RelativeOrAbsolute);
System.IdentityModel (5)
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\Tokens\Saml2AuthorizationDecisionStatement.cs (1)
22
public static readonly Uri EmptyResource = new
Uri
(string.Empty, UriKind.Relative);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
960
return new
Uri
(value, kind);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
2101
audienceRestrictionCondition.Audiences.Add(new
Uri
(audience, UriKind.RelativeOrAbsolute));
System.Runtime.Serialization (2)
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 (26)
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 (1)
27
static readonly Uri EmptyUri = new
Uri
(String.Empty, UriKind.Relative);
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.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 (3)
System\ServiceModel\Discovery\DiscoveryMessageSequence.cs (1)
161
this.SequenceId = new
Uri
(sequenceIdString, UriKind.RelativeOrAbsolute);
System\ServiceModel\Discovery\SerializationUtility.cs (2)
78
uriCollection.Add(new
Uri
(uriStrings[i], uriKind));
326
scopeMatchBy = new
Uri
(scopeMatchByStr, UriKind.RelativeOrAbsolute);
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
142
return (!string.IsNullOrEmpty(parameter)) ? new
Uri
(parameter, UriKind.RelativeOrAbsolute) : null;
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 (12)
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\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)
572
Uri certificatePartName = PackUriHelper.CreatePartUri(new
Uri
(
1266
return PackUriHelper.CreatePartUri(new
Uri
(_defaultSignaturePartNamePrefix +
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);
932
new
Uri
(partUri.GetComponents(UriComponents.Path |
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));