86 references to OriginalString
PresentationCore (2)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (1)
1239bitmapStream = new System.IO.FileStream(uri.OriginalString, FileMode.Open, FileAccess.Read, FileShare.Read);
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (1)
430string.Compare(uri.OriginalString, 0, Uri.UriSchemeFile, 0, Uri.UriSchemeFile.Length, StringComparison.OrdinalIgnoreCase) != 0)
PresentationFramework (12)
src\Framework\MS\Internal\Utility\BindUriHelper.cs (1)
171return uri.OriginalString.StartsWith(FRAGMENTMARKER, StringComparison.Ordinal);
src\Framework\System\Windows\Application.cs (5)
463if (resourceLocator.OriginalString == null) 553if (resourceLocator.OriginalString == null) 705if (uriResource.OriginalString == null) 743if (uriContent.OriginalString == null) 778if (uriRemote.OriginalString == null)
src\Framework\System\Windows\Data\XmlNamespaceMappingCollection.cs (3)
100this.AddNamespace(mapping.Prefix, mapping.Uri.OriginalString); 133return (this.LookupNamespace(mapping.Prefix) == mapping.Uri.OriginalString); 172this.RemoveNamespace(mapping.Prefix, mapping.Uri.OriginalString);
src\Framework\System\Windows\Markup\XamlParseException.cs (1)
304bamlFilePath = resourceUri.OriginalString;
src\Framework\System\Windows\ResourceDictionary.cs (2)
144if (value == null || String.IsNullOrEmpty(value.OriginalString)) 2556public ResourceDictionarySourceUriWrapper(Uri originalUri, Uri versionedUri) : base(originalUri.OriginalString, UriKind.RelativeOrAbsolute)
System (20)
net\System\_UriTypeConverter.cs (4)
74return new Uri(uri.OriginalString, 87return new InstanceDescriptor(ci, new object[] { uri.OriginalString, 92return uri.OriginalString; 95return new Uri(uri.OriginalString,
net\System\Net\mail\Attachment.cs (1)
280part.ContentLocation = value == null ? null : value.IsAbsoluteUri ? value.AbsoluteUri : value.OriginalString;
net\System\Net\WebRequest.cs (2)
1210string uri = this.RequestUri.OriginalString; 1228string uri = this.RequestUri.OriginalString;
net\System\URI.cs (9)
600result = baseUri.OriginalString; 1631return CalculateCaseInsensitiveHashCode(OriginalString); 1664return (m_iriParsing && InFact(Flags.HasUnicode)) ? m_String : OriginalString; 1769return OriginalString.Equals(obj.OriginalString); 5012int idx = basePart.OriginalString.IndexOf(':'); 5014return basePart.OriginalString.Substring(0, idx+1 ) + relativePart; 5017idx = basePart.OriginalString.IndexOf(':', idx+1); 5018return basePart.OriginalString.Substring(0, idx+1 ) + relativePart;
net\System\UriExt.cs (3)
439return uri1.IsAbsoluteUri? 1: uri2.IsAbsoluteUri? -1: string.Compare(uri1.OriginalString, 440uri2.OriginalString, comparisonType); 755relativeStr = relativeUri.OriginalString;
net\System\UriScheme.cs (1)
111return result.OriginalString;
System.Data.Services (9)
parent\Client\System\Data\Services\Client\Common.cs (1)
75return uri.IsAbsoluteUri ? uri.AbsoluteUri : uri.OriginalString;
System\Data\Services\RequestUriProcessor.cs (3)
239if (absoluteServiceUri.OriginalString.EndsWith("/", StringComparison.Ordinal)) 251referenceAsUri = new Uri(absoluteServiceUri.OriginalString + slash + reference); 279return uri.OriginalString;
System\Data\Services\Serializers\Deserializer.cs (1)
334throw DataServiceException.CreateBadRequestError(Strings.BadRequest_CannotSetTopLevelResourceToNull(description.ResultUri.OriginalString));
System\Data\Services\Serializers\JsonSerializer.cs (1)
429this.writer.WriteValue(readStreamUri.OriginalString);
System\Data\Services\Serializers\SyndicationDeserializer.cs (3)
481if ((linkContent == LinkContent.NoInlineElementSpecified && link.Uri != null && String.IsNullOrEmpty(link.Uri.OriginalString)) || 494else if (linkContent == LinkContent.NoInlineElementSpecified && link.Uri != null && !String.IsNullOrEmpty(link.Uri.OriginalString)) 500Uri referencedUri = RequestUriProcessor.GetAbsoluteUriFromReference(link.Uri.OriginalString, this.Service.OperationContext);
System.Data.Services.Client (9)
System\Data\Services\Client\Common.cs (1)
75return uri.IsAbsoluteUri ? uri.AbsoluteUri : uri.OriginalString;
System\Data\Services\Client\DataServiceContext.cs (2)
598Uri metadataUri = Util.CreateUri(this.baseUriWithSlash.OriginalString + XmlConstants.UriMetadataSegment, UriKind.Absolute); 2921writer.WriteAttributeString(XmlConstants.AtomCategorySchemeAttributeName, this.typeScheme.OriginalString);
System\Data\Services\Client\MaterializeFromAtom.cs (1)
122string typeScheme = this.context.TypeScheme.OriginalString;
System\Data\Services\Client\Util.cs (5)
284if (baseUri.OriginalString.EndsWith("/", StringComparison.Ordinal)) 286if (requestUri.OriginalString.StartsWith("/", StringComparison.Ordinal)) 288requestUri = new Uri(baseUri, Util.CreateUri(requestUri.OriginalString.TrimStart(Util.ForwardSlash), UriKind.Relative)); 297requestUri = Util.CreateUri(baseUri.OriginalString + "/" + requestUri.OriginalString.TrimStart(Util.ForwardSlash), UriKind.Absolute);
System.IdentityModel (5)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
3512writer.WriteElementString(Saml2Constants.Elements.Audience, Saml2Constants.Namespace, audience.OriginalString); 5417writer.WriteAttributeString(Saml2Constants.Attributes.Recipient, data.Recipient.OriginalString);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
2152writer.WriteElementString(SamlConstants.ElementNames.Audience, SamlConstants.Namespace, condition.Audiences[i].OriginalString);
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (2)
387SR.GetString(SR.ID1038, tokenAudiences[0].OriginalString))); 407sb.Append(a.OriginalString);
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
1497AddToNamespace(builder, uri.OriginalString, fragments);
System.ServiceModel (8)
System\ServiceModel\Channels\PeerNodeImplementation.cs (1)
1675int viaSize = Encoding.UTF8.GetByteCount(uri.OriginalString);
System\ServiceModel\Channels\SharedHttpTransportManager.cs (1)
620throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.HttpInvalidListenURI, ListenUri.OriginalString), listenerException));
System\ServiceModel\Channels\TransportChannelListener.cs (1)
351string relativePath = relativeUri.OriginalString;
System\ServiceModel\Description\ConfigLoader.cs (2)
167if (serviceEndpoint.Address == null && channelElement.Address != null && channelElement.Address.OriginalString.Length > 0) 758if (endpoint.Address == null && channelEndpointElementCopy.Address != null && channelEndpointElementCopy.Address.OriginalString.Length > 0)
System\ServiceModel\Description\ServiceMetadataBehavior.cs (1)
148throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("ExternalMetadataLocation", SR.GetString(SR.SFxBadMetadataLocationUri, value.OriginalString, value.Scheme));
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
574throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("ExternalMetadataLocation", SR.GetString(SR.SFxBadMetadataLocationNoAppropriateBaseAddress, this.parent.ExternalMetadataLocation.OriginalString));
System\ServiceModel\ServiceHost.cs (1)
696return GetUri(baseUri, relativeUri.OriginalString);
System.ServiceModel.Web (1)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (1)
177AddToNamespace(builder, uri.OriginalString);
System.Windows.Forms (3)
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1563urlString = url.IsFile ? url.OriginalString : url.AbsoluteUri;
winforms\Managed\System\WinForms\WebBrowserUriTypeConverter.cs (2)
18if (uri != null && !string.IsNullOrEmpty(uri.OriginalString) && !uri.IsAbsoluteUri) 22uri = new Uri("http://" + uri.OriginalString.Trim());
System.Xml (13)
System\Xml\Schema\Chameleonkey.cs (3)
35if (chameleonLocation.OriginalString.Length == 0) { 61Debug.Assert((chameleonLocation.OriginalString.Length == 0 && originalSchema != null) 62|| (chameleonLocation.OriginalString.Length != 0 && originalSchema == null));
System\Xml\Schema\DataTypeImplementation.cs (1)
2417string stringValue = uri.OriginalString;
System\Xml\Schema\FacetChecker.cs (1)
1168if (value.Equals(((Uri)enumeration[i]).OriginalString)) {
System\Xml\Schema\XmlSchemaSet.cs (5)
862if (schemaUri == null || schemaUri.OriginalString.Length == 0) { 1084if (schemas.ContainsKey(currentSchema.SchemaId) || (baseUri != null && baseUri.OriginalString.Length != 0 && schemaLocations[baseUri] != null)) { 1089if (baseUri != null && baseUri.OriginalString.Length != 0) { 1215if (schemaUri == null || schemaUri.OriginalString.Length == 0) { 1248if (reprocessList[i].BaseUri != null && reprocessList[i].BaseUri.OriginalString.Length != 0) {
System\Xml\Schema\XmlValueConverter.cs (1)
704return value.OriginalString;
System\Xml\XmlResolver.cs (2)
49if ( baseUri == null || ( !baseUri.IsAbsoluteUri && baseUri.OriginalString.Length == 0 ) ) { 52if ( !uri.IsAbsoluteUri && uri.OriginalString.Length > 0 ) {
WindowsBase (3)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
572writer.WriteAttributeString(TargetAttributeName, relationship.TargetUri.OriginalString);
Base\MS\Internal\Security\AttachmentService.cs (1)
84native.SetSource(source.OriginalString);
Base\System\IO\Packaging\PackUriHelper.cs (1)
822if (String.CompareOrdinal(partUri.OriginalString.ToUpperInvariant(), wellFormedPartName.ToUpperInvariant()) != 0)