64 references to InFact
System (64)
net\System\URI.cs (53)
376
if (allowDnsOptimization &&
InFact
(Flags.CanonicalDnsHost)) {
520
dontEscape =
InFact
(Flags.UserEscaped);
860
return
InFact
(Flags.LoopbackHost);
1105
UnescapeMode mode = (
InFact
(Flags.PathNotCanonical) && !IsImplicitFile)
1114
if (
InFact
(Flags.ShouldBeCompressed)) {
1157
if (
InFact
(Flags.NotDefaultPort)) {
1229
get{return ((m_iriParsing &&
InFact
(Flags.HasUnicode)) ||
1230
(AllowIdn && (
InFact
(Flags.IdnHost) ||
InFact
(Flags.UnicodeHost))));}
1282
&&
InFact
(Flags.HostNotCanonical | Flags.E_HostNotCanonical)) {
1324
return
InFact
(Flags.UserEscaped);
1664
return (m_iriParsing &&
InFact
(Flags.HasUnicode)) ? m_String : OriginalString;
1808
if (
InFact
(Flags.CanonicalDnsHost) && obj.
InFact
(Flags.CanonicalDnsHost)) {
2155
else if (m_Syntax.InFact(UriSyntaxFlags.OptionalAuthority) && (
InFact
(Flags.AuthorityFound) ||
2192
if (
InFact
(Flags.DosPath)) {
2510
if (
InFact
(Flags.ImplicitFile) && (result & (Check.ReservedFound | Check.EscapedCanonical)) != 0) {
2714
if (
InFact
(Flags.SchemeNotCanonical)) {
2720
if (
InFact
(Flags.ShouldBeCompressed|Flags.FirstSlashAbsent|Flags.BackslashInPath)) {
2790
if (
InFact
(Flags.AuthorityFound)) {
2798
if ((parts & UriComponents.UserInfo) != 0 &&
InFact
(Flags.HasUserInfo))
2809
if (
InFact
(Flags.E_UserNotCanonical)) {
2820
chars, ref count, '@', '/', '\\',
InFact
(Flags.UserEscaped) ? UnescapeMode.Unescape :
2858
(
InFact
(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape);
2903
if (
InFact
(Flags.NotDefaultPort)) {
2918
else if (
InFact
(Flags.NotDefaultPort) || ((parts & UriComponents.StrongPort) != 0 &&
2938
if (
InFact
(Flags.AuthorityFound) && count !=0 && chars[0] == '/')
2980
ref count, '#', c_DummyChar, c_DummyChar, (
InFact
(Flags.UserEscaped) ?
2995
ref count, '#', c_DummyChar, c_DummyChar, (
InFact
(Flags.UserEscaped) ?
3035
ref count, '#', c_DummyChar, c_DummyChar, (
InFact
(Flags.UserEscaped) ?
3049
ref count, '#', c_DummyChar, c_DummyChar, (
InFact
(Flags.UserEscaped) ?
3075
if (!
InFact
(Flags.HasUserInfo))
3084
if (!
InFact
(Flags.HasUserInfo))
3087
if (
InFact
(Flags.NotDefaultPort) || m_Syntax.DefaultPort == UriParser.NoDefaultPort)
3102
if (
InFact
(Flags.HasUserInfo)) {
3133
if (
InFact
(Flags.NotDefaultPort|Flags.PortNotCanonical)) {
3144
if (uriParts == UriComponents.Path &&
InFact
(Flags.AuthorityFound) &&
3185
if (
InFact
(Flags.NotDefaultPort) || m_Syntax.DefaultPort == UriParser.NoDefaultPort)
3195
if (
InFact
(Flags.HasUserInfo)) {
4576
if (
InFact
(Flags.FirstSlashAbsent))
4591
if (
InFact
(Flags.ShouldBeCompressed))
4599
if (m_Syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes) &&
InFact
(Flags.PathNotCanonical)
4612
if (
InFact
(Flags.E_PathNotCanonical) && NotAny(Flags.UserEscaped)) {
4635
if (
InFact
(Flags.ShouldBeCompressed))
4640
if (m_Syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes) &&
InFact
(Flags.PathNotCanonical)
4663
if (
InFact
(Flags.ShouldBeCompressed))
4671
if (formatAs == UriFormat.UriEscaped && NotAny(Flags.UserEscaped) &&
InFact
(Flags.E_PathNotCanonical)) {
4679
else if (m_Syntax.InFact(UriSyntaxFlags.ConvertPathSlashes) &&
InFact
(Flags.BackslashInPath))
4685
if (formatAs != UriFormat.UriEscaped &&
InFact
(Flags.PathNotCanonical))
4688
if (
InFact
(Flags.PathNotCanonical))
4694
mode = (
InFact
(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape)
4707
mode =
InFact
(Flags.UserEscaped)? UnescapeMode.Unescape: UnescapeMode.EscapeUnescape;
5243
return
InFact
(Flags.AuthorityFound);
net\System\UriExt.cs (11)
81
else if (uriKind == UriKind.Relative &&
InFact
(Flags.DosPath))
192
if (err != ParsingError.None ||
InFact
(Flags.ErrorOrParsingRecursion))
524
if (
InFact
(Flags.AuthorityFound))
531
if (
InFact
(Flags.UncPath | Flags.DosPath))
544
if (
InFact
(Flags.FirstSlashAbsent) && m_Info.Offset.Query > m_Info.Offset.Path)
550
if (
InFact
(Flags.BackslashInPath))
806
if (baseUri.
InFact
(Flags.AuthorityFound))
1000
if (
InFact
(Flags.MinimalUriInfoSet))
1005
if (
InFact
(Flags.NotDefaultPort))
1028
if (otherUri.AllowIdn && (otherUri.
InFact
(Flags.IdnHost) || otherUri.
InFact
(Flags.UnicodeHost))){