64 references to InFact
System.Private.Uri (64)
System\Uri.cs (52)
149Debug.Assert(InFact(Flags.MinimalUriInfoSet) == (_info is not null)); 163if (InFact(Flags.AllUriInfoSet)) 175if (!InFact(Flags.HasUnicode)) 395if (allowDnsOptimization && InFact(Flags.CanonicalDnsHost)) 604dontEscape = InFact(Flags.UserEscaped); 897return InFact(Flags.LoopbackHost); 1070if (InFact(Flags.PathNotCanonical) && !IsImplicitFile) 1083if (InFact(Flags.ShouldBeCompressed)) 1123if (InFact(Flags.NotDefaultPort)) 1203if (hostType == Flags.IPv6HostType || (hostType == Flags.BasicHostType && InFact(Flags.HostNotCanonical | Flags.E_HostNotCanonical))) 1244else if (hostType == Flags.BasicHostType && InFact(Flags.HostNotCanonical | Flags.E_HostNotCanonical)) 1274return InFact(Flags.UserEscaped); 1793if (InFact(Flags.CanonicalDnsHost) && other.InFact(Flags.CanonicalDnsHost)) 2031if (!OperatingSystem.IsWindows() && InFact(Flags.UnixPath)) 2137else if (_syntax.InFact(UriSyntaxFlags.OptionalAuthority) && (InFact(Flags.AuthorityFound) || 2148if (InFact(Flags.HasUnicode)) 2166if (InFact(Flags.HasUnicode)) 2178if (InFact(Flags.DosPath)) 2210else if (!OperatingSystem.IsWindows() && hostTerminator == '/' && NotAny(Flags.ImplicitFile) && InFact(Flags.UncPath) && _syntax == UriParser.FileUri) 2490if (InFact(Flags.ImplicitFile) && (result & (Check.ReservedFound | Check.EscapedCanonical)) != 0) 2699if (InFact(Flags.SchemeNotCanonical)) 2707if (InFact(Flags.ShouldBeCompressed | Flags.FirstSlashAbsent | Flags.BackslashInPath)) 2802Debug.Assert(InFact(Flags.AllUriInfoSet)); 2811if (InFact(Flags.AuthorityFound)) 2820if ((parts & UriComponents.UserInfo) != 0 && InFact(Flags.HasUserInfo)) 2843InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape, 2903InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape, 2926(InFact(Flags.NotDefaultPort) || ((parts & UriComponents.StrongPort) != 0 && _syntax.DefaultPort != UriParser.NoDefaultPort))) 2945if (InFact(Flags.AuthorityFound) && dest.Length != 0 && dest[0] == '/') 3005UnescapeMode mode = InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape; 3032if (!InFact(Flags.HasUserInfo)) 3042if (!InFact(Flags.HasUserInfo)) 3045if (InFact(Flags.NotDefaultPort) || _syntax.DefaultPort == UriParser.NoDefaultPort) 3060if (InFact(Flags.HasUserInfo)) 3093if (InFact(Flags.NotDefaultPort | Flags.PortNotCanonical)) 3105if (uriParts == UriComponents.Path && InFact(Flags.AuthorityFound) && 3146if (InFact(Flags.NotDefaultPort) || _syntax.DefaultPort == UriParser.NoDefaultPort) 3156if (InFact(Flags.HasUserInfo)) 3220bool buildIriStringFromPath = InFact(Flags.HasUnicode); 4305if (InFact(Flags.FirstSlashAbsent)) 4320if (InFact(Flags.ShouldBeCompressed)) 4327if (_syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes) && InFact(Flags.PathNotCanonical) 4342if (InFact(Flags.E_PathNotCanonical) && NotAny(Flags.UserEscaped)) 4365if (!OperatingSystem.IsWindows() && InFact(Flags.BackslashInPath) && _syntax.NotAny(UriSyntaxFlags.ConvertPathSlashes) && _syntax.InFact(UriSyntaxFlags.FileLikeUri) && !IsImplicitFile) 4383if (InFact(Flags.ShouldBeCompressed)) 4388if (_syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes) && InFact(Flags.PathNotCanonical) 4414if (InFact(Flags.ShouldBeCompressed) && dest.Length - offset > 0) 4423if (formatAs == UriFormat.UriEscaped && NotAny(Flags.UserEscaped) && InFact(Flags.E_PathNotCanonical)) 4440if (formatAs != UriFormat.UriEscaped && InFact(Flags.PathNotCanonical)) 4457UnescapeMode mode = InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape; 5060return InFact(Flags.AuthorityFound);
System\UriExt.cs (12)
61|| (!OperatingSystem.IsWindows() && InFact(Flags.UnixPath)))) 73else if (uriKind == UriKind.Relative && InFact(Flags.DosPath)) 165if (err != ParsingError.None || InFact(Flags.ErrorOrParsingRecursion)) 502if (InFact(Flags.AuthorityFound)) 508if (InFact(Flags.UncPath | Flags.DosPath)) 520if (InFact(Flags.FirstSlashAbsent) && _info.Offset.Query > _info.Offset.Path) 526if (InFact(Flags.BackslashInPath)) 862if (baseUri.InFact(Flags.AuthorityFound)) 1035if (InFact(Flags.AllUriInfoSet)) 1042Debug.Assert(!InFact(Flags.HasUnicode) || otherUri.IsNotAbsoluteUri); 1048if (InFact(Flags.MinimalUriInfoSet)) 1053if (InFact(Flags.NotDefaultPort))