66 references to InFact
System.Private.Uri (66)
System\Uri.cs (54)
163Debug.Assert(InFact(Flags.MinimalUriInfoSet) == (_info is not null)); 177if (InFact(Flags.AllUriInfoSet)) 189if (!InFact(Flags.HasUnicode)) 409if (allowDnsOptimization && InFact(Flags.CanonicalDnsHost)) 611dontEscape = InFact(Flags.UserEscaped); 882return InFact(Flags.LoopbackHost); 1055if (InFact(Flags.PathNotCanonical) && !IsImplicitFile) 1068if (InFact(Flags.ShouldBeCompressed)) 1108if (InFact(Flags.NotDefaultPort)) 1188if (hostType == Flags.IPv6HostType || (hostType == Flags.BasicHostType && InFact(Flags.HostNotCanonical | Flags.E_HostNotCanonical))) 1229else if (hostType == Flags.BasicHostType && InFact(Flags.HostNotCanonical | Flags.E_HostNotCanonical)) 1259return InFact(Flags.UserEscaped); 1778if (InFact(Flags.CanonicalDnsHost) && other.InFact(Flags.CanonicalDnsHost)) 2004if (!OperatingSystem.IsWindows() && InFact(Flags.UnixPath)) 2112else if (_syntax.InFact(UriSyntaxFlags.OptionalAuthority) && (InFact(Flags.AuthorityFound) || 2123if (InFact(Flags.HasUnicode)) 2141if (InFact(Flags.HasUnicode)) 2153if (InFact(Flags.DosPath)) 2184else if (!OperatingSystem.IsWindows() && hostTerminator == '/' && NotAny(Flags.ImplicitFile) && InFact(Flags.UncPath) && _syntax == UriParser.FileUri) 2441if (InFact(Flags.ImplicitFile) && (result & (Check.ReservedFound | Check.EscapedCanonical)) != 0) 2639if (InFact(Flags.SchemeNotCanonical)) 2647if (InFact(Flags.ShouldBeCompressed | Flags.FirstSlashAbsent | Flags.BackslashInPath)) 2742Debug.Assert(InFact(Flags.AllUriInfoSet)); 2751if (InFact(Flags.AuthorityFound)) 2760if ((parts & UriComponents.UserInfo) != 0 && InFact(Flags.HasUserInfo)) 2783InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape, 2843InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape, 2866(InFact(Flags.NotDefaultPort) || ((parts & UriComponents.StrongPort) != 0 && _syntax.DefaultPort != UriParser.NoDefaultPort))) 2885if (InFact(Flags.AuthorityFound) && dest.Length != 0 && dest[0] == '/') 2945UnescapeMode mode = InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape; 2972if (!InFact(Flags.HasUserInfo)) 2982if (!InFact(Flags.HasUserInfo)) 2985if (InFact(Flags.NotDefaultPort) || _syntax.DefaultPort == UriParser.NoDefaultPort) 3000if (InFact(Flags.HasUserInfo)) 3033if (InFact(Flags.NotDefaultPort | Flags.PortNotCanonical)) 3045if (uriParts == UriComponents.Path && InFact(Flags.AuthorityFound) && 3086if (InFact(Flags.NotDefaultPort) || _syntax.DefaultPort == UriParser.NoDefaultPort) 3096if (InFact(Flags.HasUserInfo)) 3422Debug.Assert(InFact(Flags.HasUnicode)); 3423Debug.Assert(InFact(Flags.MinimalUriInfoSet)); 3424Debug.Assert(!InFact(Flags.UserDrivenParsing)); 4184if (InFact(Flags.FirstSlashAbsent)) 4199if (InFact(Flags.ShouldBeCompressed)) 4206if (_syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes) && InFact(Flags.PathNotCanonical) 4215if (InFact(Flags.E_PathNotCanonical) && NotAny(Flags.UserEscaped)) 4238if (!OperatingSystem.IsWindows() && InFact(Flags.BackslashInPath) && _syntax.NotAny(UriSyntaxFlags.ConvertPathSlashes) && _syntax.InFact(UriSyntaxFlags.FileLikeUri) && !IsImplicitFile) 4256if (InFact(Flags.ShouldBeCompressed)) 4261if (_syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes) && InFact(Flags.PathNotCanonical) 4281if (InFact(Flags.ShouldBeCompressed) && dest.Length - offset > 0) 4292if (formatAs == UriFormat.UriEscaped && NotAny(Flags.UserEscaped) && InFact(Flags.E_PathNotCanonical)) 4309if (formatAs != UriFormat.UriEscaped && InFact(Flags.PathNotCanonical)) 4326UnescapeMode mode = InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape; 4889return InFact(Flags.AuthorityFound);
System\UriExt.cs (12)
88|| (!OperatingSystem.IsWindows() && InFact(Flags.UnixPath)))) 124if (InFact(Flags.ErrorOrParsingRecursion)) 450if (InFact(Flags.AuthorityFound)) 452if (InFact(Flags.SchemeNotCanonical_NoTrailingSlashes)) 457if (InFact(Flags.UncPath | Flags.DosPath)) 472if (InFact(Flags.FirstSlashAbsent) && _info.Offset.Query > _info.Offset.Path) 478if (InFact(Flags.BackslashInPath)) 742if (baseUri.InFact(Flags.AuthorityFound)) 916if (InFact(Flags.AllUriInfoSet)) 923Debug.Assert(!InFact(Flags.HasUnicode) || otherUri.IsNotAbsoluteUri); 929if (InFact(Flags.MinimalUriInfoSet)) 934if (InFact(Flags.NotDefaultPort))