48 references to SchemeName
System.Private.Uri (48)
System\Uri.cs (23)
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; 878return (object)_syntax.SchemeName == (object)UriSchemeFile; 1171return _syntax.SchemeName; 2266idx += _syntax.SchemeName.Length + 1; 2758dest.Append(_syntax.SchemeName); 3039return _syntax.SchemeName; 3191Debug.Assert(str.StartsWith(_syntax.SchemeName, StringComparison.OrdinalIgnoreCase)); 3192Debug.Assert(str[_syntax.SchemeName.Length] == ':'); 3194int schemeLength = _syntax.SchemeName.Length; 3258InFact(Flags.AuthorityFound) ? _syntax.SchemeName + SchemeDelimiter : 3259_syntax.SchemeName + ':';
System\UriExt.cs (4)
449int idx = _info.Offset.Scheme + _syntax.SchemeName.Length + 3; 836return _syntax.SchemeName; 939if (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 162if (syntax.SchemeName.Length != 0) 163throw new InvalidOperationException(SR.Format(SR.net_uri_NeedFreshParser, syntax.SchemeName)); 170throw new InvalidOperationException(SR.Format(SR.net_uri_AlreadyRegistered, oldSyntax.SchemeName)); 172oldSyntax = (UriParser?)s_tempTable[syntax.SchemeName]; 185s_table[syntax.SchemeName] = syntax;