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