66 references to InFact
System.Private.Uri (66)
System\Uri.cs (54)
156Debug.Assert(InFact(Flags.MinimalUriInfoSet) == (_info is not null)); 170if (InFact(Flags.AllUriInfoSet)) 182if (!InFact(Flags.HasUnicode)) 402if (allowDnsOptimization && InFact(Flags.CanonicalDnsHost)) 612dontEscape = InFact(Flags.UserEscaped); 896return InFact(Flags.LoopbackHost); 1069if (InFact(Flags.PathNotCanonical) && !IsImplicitFile) 1082if (InFact(Flags.ShouldBeCompressed)) 1122if (InFact(Flags.NotDefaultPort)) 1202if (hostType == Flags.IPv6HostType || (hostType == Flags.BasicHostType && InFact(Flags.HostNotCanonical | Flags.E_HostNotCanonical))) 1243else if (hostType == Flags.BasicHostType && InFact(Flags.HostNotCanonical | Flags.E_HostNotCanonical)) 1273return InFact(Flags.UserEscaped); 1792if (InFact(Flags.CanonicalDnsHost) && other.InFact(Flags.CanonicalDnsHost)) 2018if (!OperatingSystem.IsWindows() && InFact(Flags.UnixPath)) 2126else if (_syntax.InFact(UriSyntaxFlags.OptionalAuthority) && (InFact(Flags.AuthorityFound) || 2137if (InFact(Flags.HasUnicode)) 2155if (InFact(Flags.HasUnicode)) 2167if (InFact(Flags.DosPath)) 2198else if (!OperatingSystem.IsWindows() && hostTerminator == '/' && NotAny(Flags.ImplicitFile) && InFact(Flags.UncPath) && _syntax == UriParser.FileUri) 2455if (InFact(Flags.ImplicitFile) && (result & (Check.ReservedFound | Check.EscapedCanonical)) != 0) 2653if (InFact(Flags.SchemeNotCanonical)) 2661if (InFact(Flags.ShouldBeCompressed | Flags.FirstSlashAbsent | Flags.BackslashInPath)) 2756Debug.Assert(InFact(Flags.AllUriInfoSet)); 2765if (InFact(Flags.AuthorityFound)) 2774if ((parts & UriComponents.UserInfo) != 0 && InFact(Flags.HasUserInfo)) 2797InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape, 2857InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape, 2880(InFact(Flags.NotDefaultPort) || ((parts & UriComponents.StrongPort) != 0 && _syntax.DefaultPort != UriParser.NoDefaultPort))) 2899if (InFact(Flags.AuthorityFound) && dest.Length != 0 && dest[0] == '/') 2959UnescapeMode mode = InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape; 2986if (!InFact(Flags.HasUserInfo)) 2996if (!InFact(Flags.HasUserInfo)) 2999if (InFact(Flags.NotDefaultPort) || _syntax.DefaultPort == UriParser.NoDefaultPort) 3014if (InFact(Flags.HasUserInfo)) 3047if (InFact(Flags.NotDefaultPort | Flags.PortNotCanonical)) 3059if (uriParts == UriComponents.Path && InFact(Flags.AuthorityFound) && 3100if (InFact(Flags.NotDefaultPort) || _syntax.DefaultPort == UriParser.NoDefaultPort) 3110if (InFact(Flags.HasUserInfo)) 3436Debug.Assert(InFact(Flags.HasUnicode)); 3437Debug.Assert(InFact(Flags.MinimalUriInfoSet)); 3438Debug.Assert(!InFact(Flags.UserDrivenParsing)); 4206if (InFact(Flags.FirstSlashAbsent)) 4221if (InFact(Flags.ShouldBeCompressed)) 4228if (_syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes) && InFact(Flags.PathNotCanonical) 4237if (InFact(Flags.E_PathNotCanonical) && NotAny(Flags.UserEscaped)) 4260if (!OperatingSystem.IsWindows() && InFact(Flags.BackslashInPath) && _syntax.NotAny(UriSyntaxFlags.ConvertPathSlashes) && _syntax.InFact(UriSyntaxFlags.FileLikeUri) && !IsImplicitFile) 4278if (InFact(Flags.ShouldBeCompressed)) 4283if (_syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes) && InFact(Flags.PathNotCanonical) 4303if (InFact(Flags.ShouldBeCompressed) && dest.Length - offset > 0) 4314if (formatAs == UriFormat.UriEscaped && NotAny(Flags.UserEscaped) && InFact(Flags.E_PathNotCanonical)) 4331if (formatAs != UriFormat.UriEscaped && InFact(Flags.PathNotCanonical)) 4348UnescapeMode mode = InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape; 4911return InFact(Flags.AuthorityFound);
System\UriExt.cs (12)
99|| (!OperatingSystem.IsWindows() && InFact(Flags.UnixPath)))) 145if (InFact(Flags.ErrorOrParsingRecursion)) 442if (InFact(Flags.AuthorityFound)) 444if (InFact(Flags.SchemeNotCanonical_NoTrailingSlashes)) 449if (InFact(Flags.UncPath | Flags.DosPath)) 464if (InFact(Flags.FirstSlashAbsent) && _info.Offset.Query > _info.Offset.Path) 470if (InFact(Flags.BackslashInPath)) 777if (baseUri.InFact(Flags.AuthorityFound)) 950if (InFact(Flags.AllUriInfoSet)) 957Debug.Assert(!InFact(Flags.HasUnicode) || otherUri.IsNotAbsoluteUri); 963if (InFact(Flags.MinimalUriInfoSet)) 968if (InFact(Flags.NotDefaultPort))