75 references to SR
System.Private.Uri (75)
System\DomainNameHelper.cs (2)
208throw new UriFormatException(SR.net_uri_BadUnicodeHostForIdn); 214throw new UriFormatException(SR.net_uri_BadUnicodeHostForIdn);
System\Uri.cs (45)
468throw new ArgumentException(SR.Format(SR.InvalidNullArgument, "RelativeUri"), nameof(serializationInfo)); 657return new UriFormatException(SR.net_uri_BadFormat); 659return new UriFormatException(SR.net_uri_BadScheme); 661return new UriFormatException(SR.net_uri_BadAuthority); 663return new UriFormatException(SR.net_uri_EmptyUri); 666return new UriFormatException(SR.net_uri_SchemeLimit); 668return new UriFormatException(SR.net_uri_SizeLimit); 670return new UriFormatException(SR.net_uri_MustRootedPath); 673return new UriFormatException(SR.net_uri_BadHostName); 675return new UriFormatException(SR.net_uri_BadFormat); 677return new UriFormatException(SR.net_uri_BadPort); 679return new UriFormatException(SR.net_uri_BadAuthorityTerminator); 681return new UriFormatException(SR.net_uri_CannotCreateRelative); 685return new UriFormatException(SR.net_uri_BadFormat); 694throw new InvalidOperationException(SR.net_uri_NotAbsolute); 727throw new InvalidOperationException(SR.net_uri_NotAbsolute); 750throw new InvalidOperationException(SR.net_uri_NotAbsolute); 765throw new InvalidOperationException(SR.net_uri_NotAbsolute); 780throw new InvalidOperationException(SR.net_uri_NotAbsolute); 812throw new InvalidOperationException(SR.net_uri_NotAbsolute); 832throw new InvalidOperationException(SR.net_uri_NotAbsolute); 845throw new InvalidOperationException(SR.net_uri_NotAbsolute); 863throw new InvalidOperationException(SR.net_uri_NotAbsolute); 894throw new InvalidOperationException(SR.net_uri_NotAbsolute); 931throw new InvalidOperationException(SR.net_uri_NotAbsolute); 945throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1062throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1089throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1105throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1122throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1147throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1171throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1245throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1336throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1372throw new ArgumentException(SR.Format(SR.Argument_InvalidUriSubcomponent, part), nameof(part)); 1595throw new InvalidOperationException(SR.net_uri_NotAbsolute); 1600throw new InvalidOperationException(SR.Format(SR.net_uri_UserDrivenParsing, GetType())); 1605throw new InvalidOperationException(SR.net_uri_GetComponentsCalledWhenCanonicalizationDisabled); 1846throw new InvalidOperationException(SR.net_uri_NotAbsolute); 2636throw new UriFormatException(SR.Format(SR.net_uri_PortOutOfRange, _syntax.GetType(), portStr)); 4976throw new InvalidOperationException(SR.net_uri_NotAbsolute);
System\UriBuilder.cs (3)
92throw new ArgumentException(SR.Argument_ExtraNotValid, nameof(extraValue)); 127throw new ArgumentException(SR.net_uri_BadScheme, nameof(value)); 310throw new UriFormatException(SR.net_uri_BadUserPassword);
System\UriExt.cs (9)
26throw new ArgumentException(SR.Format(SR.net_uri_InvalidUriKind, uriKind)); 355throw new InvalidOperationException(SR.net_uri_GetComponentsCalledWhenCanonicalizationDisabled); 364throw new ArgumentOutOfRangeException(nameof(components), components, SR.net_uri_NotJustSerialization); 374throw new InvalidOperationException(SR.net_uri_NotAbsolute); 445throw new InvalidOperationException(SR.Format(SR.net_uri_UserDrivenParsing, this.GetType())); 758throw new ArgumentException(SR.Format(SR.net_uri_InvalidUriKind, uriKind));
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)
163throw new InvalidOperationException(SR.Format(SR.net_uri_NeedFreshParser, syntax.SchemeName)); 170throw new InvalidOperationException(SR.Format(SR.net_uri_AlreadyRegistered, oldSyntax.SchemeName));