62 references to InFact
System.Private.Uri (62)
System\Uri.cs (52)
346if (allowDnsOptimization && InFact(Flags.CanonicalDnsHost)) 555dontEscape = InFact(Flags.UserEscaped); 850return InFact(Flags.LoopbackHost); 1024UnescapeMode mode = (InFact(Flags.PathNotCanonical) && !IsImplicitFile) 1033if (InFact(Flags.ShouldBeCompressed)) 1073if (InFact(Flags.NotDefaultPort)) 1153if (hostType == Flags.IPv6HostType || (hostType == Flags.BasicHostType && InFact(Flags.HostNotCanonical | Flags.E_HostNotCanonical))) 1194else if (hostType == Flags.BasicHostType && InFact(Flags.HostNotCanonical | Flags.E_HostNotCanonical)) 1232return InFact(Flags.UserEscaped); 1762if (InFact(Flags.CanonicalDnsHost) && other.InFact(Flags.CanonicalDnsHost)) 2003if (!OperatingSystem.IsWindows() && InFact(Flags.UnixPath)) 2109else if (_syntax.InFact(UriSyntaxFlags.OptionalAuthority) && (InFact(Flags.AuthorityFound) || 2120if (InFact(Flags.HasUnicode)) 2138if (InFact(Flags.HasUnicode)) 2150if (InFact(Flags.DosPath)) 2182else if (!OperatingSystem.IsWindows() && hostTerminator == '/' && NotAny(Flags.ImplicitFile) && InFact(Flags.UncPath) && _syntax == UriParser.FileUri) 2462if (InFact(Flags.ImplicitFile) && (result & (Check.ReservedFound | Check.EscapedCanonical)) != 0) 2669if (InFact(Flags.SchemeNotCanonical)) 2677if (InFact(Flags.ShouldBeCompressed | Flags.FirstSlashAbsent | Flags.BackslashInPath)) 2779if (InFact(Flags.AuthorityFound)) 2788if ((parts & UriComponents.UserInfo) != 0 && InFact(Flags.HasUserInfo)) 2811InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape, 2854(InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape); 2894(InFact(Flags.NotDefaultPort) || ((parts & UriComponents.StrongPort) != 0 && _syntax.DefaultPort != UriParser.NoDefaultPort))) 2913if (InFact(Flags.AuthorityFound) && dest.Length != 0 && dest[0] == '/') 2952V1ToStringUnescape => (InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape) | UnescapeMode.V1ToStringFlag, 2954_ => InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape 2991V1ToStringUnescape => (InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape) | UnescapeMode.V1ToStringFlag, 2993_ => InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape 3019if (!InFact(Flags.HasUserInfo)) 3029if (!InFact(Flags.HasUserInfo)) 3032if (InFact(Flags.NotDefaultPort) || _syntax.DefaultPort == UriParser.NoDefaultPort) 3047if (InFact(Flags.HasUserInfo)) 3080if (InFact(Flags.NotDefaultPort | Flags.PortNotCanonical)) 3092if (uriParts == UriComponents.Path && InFact(Flags.AuthorityFound) && 3133if (InFact(Flags.NotDefaultPort) || _syntax.DefaultPort == UriParser.NoDefaultPort) 3143if (InFact(Flags.HasUserInfo)) 3207bool buildIriStringFromPath = InFact(Flags.HasUnicode); 4296if (InFact(Flags.FirstSlashAbsent)) 4311if (InFact(Flags.ShouldBeCompressed)) 4318if (_syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes) && InFact(Flags.PathNotCanonical) 4333if (InFact(Flags.E_PathNotCanonical) && NotAny(Flags.UserEscaped)) 4356if (!OperatingSystem.IsWindows() && InFact(Flags.BackslashInPath) && _syntax.NotAny(UriSyntaxFlags.ConvertPathSlashes) && _syntax.InFact(UriSyntaxFlags.FileLikeUri) && !IsImplicitFile) 4374if (InFact(Flags.ShouldBeCompressed)) 4379if (_syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes) && InFact(Flags.PathNotCanonical) 4405if (InFact(Flags.ShouldBeCompressed) && dest.Length - offset > 0) 4413if (formatAs == UriFormat.UriEscaped && NotAny(Flags.UserEscaped) && InFact(Flags.E_PathNotCanonical)) 4430if (formatAs != UriFormat.UriEscaped && InFact(Flags.PathNotCanonical)) 4437mode = (InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape) 4450mode = InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape; 5163return InFact(Flags.AuthorityFound);
System\UriExt.cs (10)
61|| (!OperatingSystem.IsWindows() && InFact(Flags.UnixPath)))) 73else if (uriKind == UriKind.Relative && InFact(Flags.DosPath)) 165if (err != ParsingError.None || InFact(Flags.ErrorOrParsingRecursion)) 507if (InFact(Flags.AuthorityFound)) 513if (InFact(Flags.UncPath | Flags.DosPath)) 525if (InFact(Flags.FirstSlashAbsent) && _info.Offset.Query > _info.Offset.Path) 531if (InFact(Flags.BackslashInPath)) 875if (baseUri.InFact(Flags.AuthorityFound)) 1060if (InFact(Flags.MinimalUriInfoSet)) 1065if (InFact(Flags.NotDefaultPort))