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