72 references to SR
System.Private.Uri (72)
System\DomainNameHelper.cs (2)
208throw new UriFormatException(SR.net_uri_BadUnicodeHostForIdn); 214throw new UriFormatException(SR.net_uri_BadUnicodeHostForIdn);
System\Uri.cs (42)
519throw new ArgumentException(SR.Format(SR.InvalidNullArgument, "RelativeUri"), nameof(serializationInfo)); 694ParsingError.BadFormat => SR.net_uri_BadFormat, 695ParsingError.BadScheme => SR.net_uri_BadScheme, 696ParsingError.BadAuthority => SR.net_uri_BadAuthority, 697ParsingError.EmptyUriString => SR.net_uri_EmptyUri, 700ParsingError.SchemeLimit => SR.net_uri_SchemeLimit, 701ParsingError.MustRootedPath => SR.net_uri_MustRootedPath, 704ParsingError.BadHostName => SR.net_uri_BadHostName, 705ParsingError.BadPort => SR.net_uri_BadPort, 706ParsingError.BadAuthorityTerminator => SR.net_uri_BadAuthorityTerminator, 707ParsingError.CannotCreateRelative => SR.net_uri_CannotCreateRelative, 721throw new InvalidOperationException(SR.net_uri_NotAbsolute); 754throw new InvalidOperationException(SR.net_uri_NotAbsolute); 777throw new InvalidOperationException(SR.net_uri_NotAbsolute); 792throw new InvalidOperationException(SR.net_uri_NotAbsolute); 807throw new InvalidOperationException(SR.net_uri_NotAbsolute); 839throw new InvalidOperationException(SR.net_uri_NotAbsolute); 859throw new InvalidOperationException(SR.net_uri_NotAbsolute); 872throw new InvalidOperationException(SR.net_uri_NotAbsolute); 890throw new InvalidOperationException(SR.net_uri_NotAbsolute); 921throw new InvalidOperationException(SR.net_uri_NotAbsolute); 961throw new InvalidOperationException(SR.net_uri_NotAbsolute); 975throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1092throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1119throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1135throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1152throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1177throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1201throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1267throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1347throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1383throw new ArgumentException(SR.Format(SR.Argument_InvalidUriSubcomponent, part), nameof(part)); 1606throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1611throw new InvalidOperationException(SR.Format(SR.net_uri_UserDrivenParsing, GetType())); 1616throw new InvalidOperationException(SR.net_uri_GetComponentsCalledWhenCanonicalizationDisabled); 1857throw new InvalidOperationException(SR.net_uri_NotAbsolute); 2601throw new UriFormatException(SR.Format(SR.net_uri_PortOutOfRange, _syntax.GetType(), portStr)); 4694throw new InvalidOperationException(SR.net_uri_NotAbsolute);
System\UriBuilder.cs (5)
92throw new ArgumentException(SR.Argument_ExtraNotValid, nameof(extraValue)); 127throw new ArgumentException(SR.net_uri_BadScheme, nameof(value)); 186throw new ArgumentException(SR.net_uri_BadHostName, nameof(value)); 193throw new ArgumentException(SR.net_uri_BadHostName, nameof(value)); 334throw new UriFormatException(SR.net_uri_BadUserPassword);
System\UriExt.cs (7)
36throw new ArgumentException(SR.Format(SR.net_uri_InvalidUriKind, uriKind)); 294throw new InvalidOperationException(SR.net_uri_GetComponentsCalledWhenCanonicalizationDisabled); 303throw new ArgumentOutOfRangeException(nameof(components), components, SR.net_uri_NotJustSerialization); 313throw new InvalidOperationException(SR.net_uri_NotAbsolute); 379throw new InvalidOperationException(SR.Format(SR.net_uri_UserDrivenParsing, this.GetType()));
System\UriScheme.cs (12)
69throw new InvalidOperationException(SR.net_uri_NotAbsolute); 74throw new InvalidOperationException(SR.Format(SR.net_uri_UserDrivenParsing, uri._syntax.GetType())); 83throw new InvalidOperationException(SR.net_uri_InitializeCalledAlreadyOrTooLate); 101throw new InvalidOperationException(SR.Format(SR.net_uri_UserDrivenParsing, this.GetType())); 104throw new InvalidOperationException(SR.net_uri_NotAbsolute); 138throw new ArgumentOutOfRangeException(nameof(components), components, SR.net_uri_NotJustSerialization); 144throw new InvalidOperationException(SR.Format(SR.net_uri_UserDrivenParsing, this.GetType())); 147throw new InvalidOperationException(SR.net_uri_NotAbsolute); 150throw new InvalidOperationException(SR.net_uri_GetComponentsCalledWhenCanonicalizationDisabled);
System\UriSyntax.cs (4)
158throw new InvalidOperationException(SR.Format(SR.net_uri_NeedFreshParser, syntax.SchemeName)); 165throw new InvalidOperationException(SR.Format(SR.net_uri_AlreadyRegistered, oldSyntax.SchemeName));