51 references to InFact
System (51)
net\System\_UriSyntax.cs (1)
339
return
InFact
(UriSyntaxFlags.SimpleUserSyntax);
net\System\URI.cs (42)
214
return (s_IriParsing && (((syntax != null) && syntax.
InFact
(UriSyntaxFlags.AllowIriParsing)) ||
948
return syntax.
InFact
(UriSyntaxFlags.FileLikeUri);
2081
if (m_Syntax.
InFact
(UriSyntaxFlags.FileLikeUri) || i-idx <= 3) {
2093
if (m_Syntax.
InFact
(UriSyntaxFlags.FileLikeUri))
2101
if (m_Syntax.
InFact
(UriSyntaxFlags.MustHaveAuthority)) {
2114
else if (m_Syntax.
InFact
(UriSyntaxFlags.FileLikeUri) && (i - idx >= 2 && i - idx != 3 &&
2140
if (m_Syntax.
InFact
(UriSyntaxFlags.MustHaveAuthority)) {
2155
else if (m_Syntax.
InFact
(UriSyntaxFlags.OptionalAuthority) && (InFact(Flags.AuthorityFound) ||
2172
else if (m_Syntax.
InFact
(UriSyntaxFlags.MustHaveAuthority)) {
3352
(m_Syntax.
InFact
(UriSyntaxFlags.MayHaveQuery) ? '?' : m_Syntax.
InFact
(UriSyntaxFlags.MayHaveFragment) ? '#' : c_EOL));
3384
? '?' : m_Syntax.
InFact
(UriSyntaxFlags.MayHaveFragment) ? '#' : c_EOL));
3409
m_Syntax.
InFact
(UriSyntaxFlags.UnEscapeDotsAndSlashes))))
3411
if (((result & Check.DotSlashEscaped) != 0) && m_Syntax.
InFact
(UriSyntaxFlags.UnEscapeDotsAndSlashes))
3927
if (syntax.
InFact
(UriSyntaxFlags.AllowEmptyHost))
4006
if (ch == '[' && syntax.
InFact
(UriSyntaxFlags.AllowIPv6Host)
4024
else if ( ch <= '9' && ch >= '0' && syntax.
InFact
(UriSyntaxFlags.AllowIPv4Host) &&
4025
IPv4AddressHelper.IsValid(pString, (int) start, ref end, false, StaticNotAny(flags, Flags.ImplicitFile), syntax.
InFact
(UriSyntaxFlags.V1_UnknownUri)))
4076
&& ((syntax.
InFact
(UriSyntaxFlags.AllowIriParsing) && hostNotUnicodeNormalized)
4077
|| syntax.
InFact
(UriSyntaxFlags.AllowIdn))
4111
if (syntax.
InFact
(UriSyntaxFlags.V1_UnknownUri))
4124
if (syntax.
InFact
(UriSyntaxFlags.MayHavePort))
4143
if(syntax.
InFact
(UriSyntaxFlags.AllowAnyOtherHost)
4159
if (syntax.
InFact
(UriSyntaxFlags.AllowAnyOtherHost))
4188
if(syntax.
InFact
(UriSyntaxFlags.AllowAnyOtherHost))
4204
if (syntax.
InFact
(UriSyntaxFlags.V1_UnknownUri))
4246
else if (syntax.
InFact
(UriSyntaxFlags.MustHaveAuthority) ||
4247
(syntax.
InFact
(UriSyntaxFlags.MailToLikeUri) && !UriParser.ShouldUseLegacyV2Quirks))
4440
else if (delim == '?' && c == '#' && (m_Syntax != null && m_Syntax.
InFact
(UriSyntaxFlags.MayHaveFragment)))
4491
else if (delim == '?' && c == '#' && (m_Syntax != null && m_Syntax.
InFact
(UriSyntaxFlags.MayHaveFragment))) {
4496
if (IsImplicitFile || (m_Syntax != null && !m_Syntax.
InFact
(UriSyntaxFlags.MayHaveQuery)
4509
if (IsImplicitFile || (m_Syntax != null && !m_Syntax.
InFact
(UriSyntaxFlags.MayHaveFragment))) {
4599
if (m_Syntax.
InFact
(UriSyntaxFlags.UnEscapeDotsAndSlashes) && InFact(Flags.PathNotCanonical)
4605
m_Syntax.
InFact
(UriSyntaxFlags.ConvertPathSlashes) ? '\\' : c_DummyChar);
4640
if (m_Syntax.
InFact
(UriSyntaxFlags.UnEscapeDotsAndSlashes) && InFact(Flags.PathNotCanonical)
4646
m_Syntax.
InFact
(UriSyntaxFlags.ConvertPathSlashes) ? '\\' : c_DummyChar);
4679
else if (m_Syntax.
InFact
(UriSyntaxFlags.ConvertPathSlashes) && InFact(Flags.BackslashInPath))
4816
if (ch == '\\' && syntax.
InFact
(UriSyntaxFlags.ConvertPathSlashes)) {
4938
if ((ushort)destLength > start && syntax.
InFact
(UriSyntaxFlags.CanonicalizeAsFilePath))
5066
bool convBackSlashes = basePart.Syntax.
InFact
(UriSyntaxFlags.ConvertPathSlashes);
5116
c1 = basePart.Syntax.
InFact
(UriSyntaxFlags.MayHaveQuery)? '?': c_DummyChar;
5120
char c2 = (!basePart.IsImplicitFile && basePart.Syntax.
InFact
(UriSyntaxFlags.MayHaveFragment)) ? '#' :
net\System\uribuilder.cs (2)
416
m_schemeDelimiter = syntax.
InFact
(UriSyntaxFlags.MustHaveAuthority) ||
417
(m_host.Length != 0 && syntax.NotAny(UriSyntaxFlags.MailToLikeUri) && syntax.
InFact
(UriSyntaxFlags.OptionalAuthority ))
net\System\UriExt.cs (6)
110
m_iriParsing = (s_IriParsing && ((m_Syntax == null) || m_Syntax.
InFact
(UriSyntaxFlags.AllowIriParsing)));
774
if (relativeStr[0] == '#' && !baseUri.IsImplicitFile && baseUri.Syntax.
InFact
(UriSyntaxFlags.MayHaveFragment))
782
if (relativeStr[0] == '?' && !baseUri.IsImplicitFile && baseUri.Syntax.
InFact
(UriSyntaxFlags.MayHaveQuery))
802
else if (baseUri.Syntax.
InFact
(UriSyntaxFlags.AllowDOSPath))
807
prefix = baseUri.Syntax.
InFact
(UriSyntaxFlags.PathIsRooted) ? ":///" : "://";
809
prefix = baseUri.Syntax.
InFact
(UriSyntaxFlags.PathIsRooted) ? ":/" : ":";