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