47 references to SchemeName
System.Private.Uri (47)
System\Uri.cs (22)
22public static readonly string UriSchemeFile = UriParser.FileUri.SchemeName; 23public static readonly string UriSchemeFtp = UriParser.FtpUri.SchemeName; 26public static readonly string UriSchemeGopher = UriParser.GopherUri.SchemeName; 27public static readonly string UriSchemeHttp = UriParser.HttpUri.SchemeName; 28public static readonly string UriSchemeHttps = UriParser.HttpsUri.SchemeName; 29public static readonly string UriSchemeWs = UriParser.WsUri.SchemeName; 30public static readonly string UriSchemeWss = UriParser.WssUri.SchemeName; 31public static readonly string UriSchemeMailto = UriParser.MailToUri.SchemeName; 32public static readonly string UriSchemeNews = UriParser.NewsUri.SchemeName; 33public static readonly string UriSchemeNntp = UriParser.NntpUri.SchemeName; 35public static readonly string UriSchemeTelnet = UriParser.TelnetUri.SchemeName; 36public static readonly string UriSchemeNetTcp = UriParser.NetTcpUri.SchemeName; 37public static readonly string UriSchemeNetPipe = UriParser.NetPipeUri.SchemeName; 881return (object)_syntax.SchemeName == (object)UriSchemeFile; 1174return _syntax.SchemeName; 2269idx += _syntax.SchemeName.Length + 1; 2761dest.Append(_syntax.SchemeName); 3042return _syntax.SchemeName; 3190Debug.Assert(str.StartsWith(_syntax.SchemeName, StringComparison.OrdinalIgnoreCase)); 3191Debug.Assert(str[_syntax.SchemeName.Length] == ':'); 3193int schemeLength = _syntax.SchemeName.Length; 3451vsb.Append(_syntax.SchemeName);
System\UriExt.cs (4)
451int idx = _info.Offset.Scheme + _syntax.SchemeName.Length + 3; 827return _syntax.SchemeName; 930if (Syntax.SchemeName != uriLink.Syntax.SchemeName)
System\UriSyntax.cs (21)
80{ HttpUri.SchemeName, HttpUri }, // HTTP 81{ HttpsUri.SchemeName, HttpsUri }, // HTTPS cloned from HTTP 82{ WsUri.SchemeName, WsUri }, // WebSockets 83{ WssUri.SchemeName, WssUri }, // Secure WebSockets 84{ FtpUri.SchemeName, FtpUri }, //FTP 85{ FileUri.SchemeName, FileUri }, //FILE 86{ GopherUri.SchemeName, GopherUri }, //GOPHER 87{ NntpUri.SchemeName, NntpUri }, //NNTP 88{ NewsUri.SchemeName, NewsUri }, //NEWS 89{ MailToUri.SchemeName, MailToUri }, //MAILTO 90{ UuidUri.SchemeName, UuidUri }, //UUID cloned from NEWS 91{ TelnetUri.SchemeName, TelnetUri }, //TELNET 92{ LdapUri.SchemeName, LdapUri }, //LDAP 93{ NetTcpUri.SchemeName, NetTcpUri }, 94{ NetPipeUri.SchemeName, NetPipeUri }, 95{ VsMacrosUri.SchemeName, VsMacrosUri }, //VSMACROS 157if (syntax.SchemeName.Length != 0) 158throw new InvalidOperationException(SR.Format(SR.net_uri_NeedFreshParser, syntax.SchemeName)); 165throw new InvalidOperationException(SR.Format(SR.net_uri_AlreadyRegistered, oldSyntax.SchemeName)); 167oldSyntax = (UriParser?)s_tempTable[syntax.SchemeName]; 180s_table[syntax.SchemeName] = syntax;