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