10 references to Format
System.Private.Uri (10)
System\Uri.cs (3)
519
throw new ArgumentException(SR.
Format
(SR.InvalidNullArgument, "RelativeUri"), nameof(serializationInfo));
1383
throw new ArgumentException(SR.
Format
(SR.Argument_InvalidUriSubcomponent, part), nameof(part));
1611
throw new InvalidOperationException(SR.
Format
(SR.net_uri_UserDrivenParsing, GetType()));
System\UriExt.cs (2)
36
throw new ArgumentException(SR.
Format
(SR.net_uri_InvalidUriKind, uriKind));
379
throw new InvalidOperationException(SR.
Format
(SR.net_uri_UserDrivenParsing, this.GetType()));
System\UriScheme.cs (3)
74
throw new InvalidOperationException(SR.
Format
(SR.net_uri_UserDrivenParsing, uri._syntax.GetType()));
101
throw new InvalidOperationException(SR.
Format
(SR.net_uri_UserDrivenParsing, this.GetType()));
144
throw new InvalidOperationException(SR.
Format
(SR.net_uri_UserDrivenParsing, this.GetType()));
System\UriSyntax.cs (2)
158
throw new InvalidOperationException(SR.
Format
(SR.net_uri_NeedFreshParser, syntax.SchemeName));
165
throw new InvalidOperationException(SR.
Format
(SR.net_uri_AlreadyRegistered, oldSyntax.SchemeName));