10 types derived from UriParser
System (10)
net\System\_UriSyntax.cs (1)
200private class BuiltInUriParser: UriParser
net\System\GenericUriParser.cs (1)
80public class GenericUriParser: UriParser
net\System\UriParserTemplates.cs (8)
31public class HttpStyleUriParser: UriParser 42public class FtpStyleUriParser: UriParser 53public class FileStyleUriParser: UriParser 63public class NewsStyleUriParser: UriParser 73public class GopherStyleUriParser: UriParser 83public class LdapStyleUriParser: UriParser 90public class NetPipeStyleUriParser: UriParser 97public class NetTcpStyleUriParser: UriParser
124 references to UriParser
PresentationBuildTasks (2)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (2)
1742if (!UriParser.IsKnownScheme(URISCHEME_PACK)) 1744UriParser.Register(new GenericUriParser(GenericUriParserOptions.GenericAuthority), URISCHEME_PACK, -1);
System (120)
net\System\_IPv6Address.cs (1)
47if (UriParser.ShouldUseLegacyV2Quirks) {
net\System\_UriSyntax.cs (31)
64private static readonly Dictionary<String, UriParser> m_Table; 65private static Dictionary<String, UriParser> m_TempTable; 87internal static UriParser HttpUri; 88internal static UriParser HttpsUri; 89internal static UriParser WsUri; 90internal static UriParser WssUri; 91internal static UriParser FtpUri; 92internal static UriParser FileUri; 93internal static UriParser GopherUri; 94internal static UriParser NntpUri; 95internal static UriParser NewsUri; 96internal static UriParser MailToUri; 97internal static UriParser UuidUri; 98internal static UriParser TelnetUri; 99internal static UriParser LdapUri; 100internal static UriParser NetTcpUri; 101internal static UriParser NetPipeUri; 103internal static UriParser VsMacrosUri; //bad guy 143m_Table = new Dictionary<String, UriParser>(c_InitialTableSize); 144m_TempTable = new Dictionary<String, UriParser>(c_InitialTableSize); 270private static void FetchSyntax(UriParser syntax, string lwrCaseSchemeName, int defaultPort) 278UriParser oldSyntax = null; 302internal static UriParser FindOrFetchAsUnknownV1Syntax(string lwrCaseScheme) { 305UriParser syntax = null; 317m_TempTable = new Dictionary<String, UriParser>(c_InitialTableSize); 325internal static UriParser GetSyntax(string lwrCaseScheme) { 326UriParser ret = null; 381internal UriParser InternalOnNewUri() 383UriParser effectiveParser = OnNewUri(); 465(UriParser.ShouldUseLegacyV2Quirks 498(UriParser.ShouldUseLegacyV2Quirks
net\System\IriHelper.cs (2)
94else if (UriParser.DontEnableStrictRFC3986ReservedCharacterSets) 290if (!Uri.IsBidiControlCharacter(ch) || !UriParser.DontKeepUnicodeBidiFormattingCharacters)
net\System\URI.cs (61)
25public static readonly string UriSchemeFile = UriParser.FileUri.SchemeName; 26public static readonly string UriSchemeFtp = UriParser.FtpUri.SchemeName; 27public static readonly string UriSchemeGopher = UriParser.GopherUri.SchemeName; 28public static readonly string UriSchemeHttp = UriParser.HttpUri.SchemeName; 29public static readonly string UriSchemeHttps = UriParser.HttpsUri.SchemeName; 30internal static readonly string UriSchemeWs = UriParser.WsUri.SchemeName; 31internal static readonly string UriSchemeWss = UriParser.WssUri.SchemeName; 32public static readonly string UriSchemeMailto = UriParser.MailToUri.SchemeName; 33public static readonly string UriSchemeNews = UriParser.NewsUri.SchemeName; 34public static readonly string UriSchemeNntp = UriParser.NntpUri.SchemeName; 35public static readonly string UriSchemeNetTcp = UriParser.NetTcpUri.SchemeName; 36public static readonly string UriSchemeNetPipe = UriParser.NetPipeUri.SchemeName; 53private UriParser m_Syntax; // This is a whole Uri syntax, not only the scheme name 194private UriParser Syntax { 212internal static bool IriParsingStatic( UriParser syntax ) 231private bool AllowIdnStatic(UriParser syntax, Flags flags) 576UriParser syntax = null; 946private static bool StaticIsFile(UriParser syntax) 961(UriParser.ShouldUseLegacyV2Quirks ? IriParsingElement.EnabledDefaultValue : true); 997if (UriParser.ShouldUseLegacyV2Quirks) { 1030UriParser parser = UriParser.GetSyntax(scheme); 1985private static unsafe ParsingError ParseScheme(string uriString, ref Flags flags, ref UriParser syntax) 2326if (m_Syntax.DefaultPort != UriParser.NoDefaultPort) 2911else if ((parts & UriComponents.StrongPort) != 0 && m_Syntax.DefaultPort != UriParser.NoDefaultPort) { 2919m_Syntax.DefaultPort != UriParser.NoDefaultPort)) { 3020ref count, true, UriParser.ShouldUseLegacyV2Quirks ? '#' : c_DummyChar, c_DummyChar, '%'); 3087if (InFact(Flags.NotDefaultPort) || m_Syntax.DefaultPort == UriParser.NoDefaultPort) 3185if (InFact(Flags.NotDefaultPort) || m_Syntax.DefaultPort == UriParser.NoDefaultPort) 3360if (UriParser.ShouldUseLegacyV2Quirks) 3482if (UriParser.ShouldUseLegacyV2Quirks) 3540if (UriParser.ShouldUseLegacyV2Quirks) 3601ref ParsingError err, ref Flags flags, ref UriParser syntax) { 3646syntax = UriParser.FileUri; 3664syntax = UriParser.FileUri; 3725unsafe static private bool CheckKnownSchemes(long *lptr, ushort nChars, ref UriParser syntax) { 3758syntax = UriParser.WsUri; 3769syntax = UriParser.HttpUri; 3773syntax = UriParser.HttpsUri; 3780syntax = UriParser.WssUri; 3786syntax = UriParser.FileUri; 3792syntax = UriParser.FtpUri; 3799syntax = UriParser.NewsUri; 3806syntax = UriParser.NntpUri; 3813syntax = UriParser.UuidUri; 3820syntax = UriParser.GopherUri; 3826syntax = UriParser.MailToUri; 3833syntax = UriParser.TelnetUri; 3840syntax = UriParser.NetPipeUri; 3844syntax = UriParser.NetTcpUri; 3851syntax = UriParser.LdapUri; 3864unsafe static private ParsingError CheckSchemeSyntax(char* ptr, ushort length, ref UriParser syntax) { 3894syntax = UriParser.FindOrFetchAsUnknownV1Syntax(str); 3906ref ParsingError err, ref Flags flags, UriParser syntax, ref string newHost ) 3976if (UriParser.ShouldUseLegacyV2Quirks) 4247(syntax.InFact(UriSyntaxFlags.MailToLikeUri) && !UriParser.ShouldUseLegacyV2Quirks)) 4259bool iriParsing, bool hasUnicode, UriParser syntax, string userInfoString, ref Flags flags, 4334bool iriParsing, bool hasUnicode, UriParser syntax, 4802private static char[] Compress(char[] dest, ushort start, ref int destLength, UriParser syntax) 4870&& (UriParser.ShouldUseLegacyV2Quirks || dotCount <= 2)) { 4891else if (UriParser.ShouldUseLegacyV2Quirks
net\System\uribuilder.cs (2)
414UriParser syntax = UriParser.GetSyntax(m_scheme);
net\System\UriExt.cs (5)
242if (UriParser.ShouldUseLegacyV2Quirks) 493if (!UriParser.ShouldUseLegacyV2Quirks && CheckForColonInFirstPathSegment(m_String)) 681private Uri(Flags flags, UriParser uriParser, string uri) 698UriParser syntax = null; 894&& m_Syntax.DefaultPort != UriParser.NoDefaultPort))
net\System\UriHelper.cs (6)
260ref int destPosition, char rsvd1, char rsvd2, char rsvd3, UnescapeMode unescapeMode, UriParser syntax, 270char rsvd1, char rsvd2, char rsvd3, UnescapeMode unescapeMode, UriParser syntax, bool isQuery) 568else if (!Uri.IsBidiControlCharacter(unescapedCharsPtr[j]) || !UriParser.DontKeepUnicodeBidiFormattingCharacters) 681else if (UriParser.DontEnableStrictRFC3986ReservedCharacterSets) 702if (UriParser.ShouldUseLegacyV2Quirks) 715if (UriParser.ShouldUseLegacyV2Quirks)
net\System\UriParserTemplates.cs (8)
33public HttpStyleUriParser():base(UriParser.HttpUri.Flags) 44public FtpStyleUriParser():base(UriParser.FtpUri.Flags) 55public FileStyleUriParser():base(UriParser.FileUri.Flags) 65public NewsStyleUriParser():base(UriParser.NewsUri.Flags) 75public GopherStyleUriParser():base(UriParser.GopherUri.Flags) 85public LdapStyleUriParser():base(UriParser.LdapUri.Flags) 92public NetPipeStyleUriParser():base(UriParser.NetPipeUri.Flags) 99public NetTcpStyleUriParser():base(UriParser.NetTcpUri.Flags)
net\System\UriScheme.cs (4)
64protected virtual UriParser OnNewUri() 167public static void Register(UriParser uriParser, string schemeName, int defaultPort) 200UriParser syntax = UriParser.GetSyntax(schemeName.ToLower(CultureInfo.InvariantCulture));
WindowsBase (2)
Base\System\IO\Packaging\PackUriHelper.cs (2)
688if (!UriParser.IsKnownScheme(UriSchemePack)) 696UriParser.Register(new GenericUriParser(GenericUriParserOptions.GenericAuthority), UriSchemePack, -1);