93 references to Check
System.Private.Uri (93)
System\Uri.cs (80)
2474Check result; 2480if ((result & Check.DisplayCanonical) == 0) 2484if (NotAny(Flags.ImplicitFile) || (result & Check.ReservedFound) != 0) 2490if (InFact(Flags.ImplicitFile) && (result & (Check.ReservedFound | Check.EscapedCanonical)) != 0) 2493result &= ~Check.EscapedCanonical; 2496if ((result & (Check.EscapedCanonical | Check.BackslashInPath)) != Check.EscapedCanonical) 3225Check result = Check.None; 3262if ((result & Check.DisplayCanonical) == 0) 3266if ((result & (Check.EscapedCanonical | Check.BackslashInPath)) != Check.EscapedCanonical) 3270if (IriParsing && ((result & (Check.DisplayCanonical | Check.EscapedCanonical | Check.BackslashInPath 3271| Check.FoundNonAscii | Check.NotIriCanonical)) 3272== (Check.DisplayCanonical | Check.FoundNonAscii))) 3435if (((result & Check.DotSlashEscaped) != 0) && _syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes)) 3441if (((syntaxFlags & (UriSyntaxFlags.ConvertPathSlashes)) != 0) && (result & Check.BackslashInPath) != 0) 3448(result & Check.DotSlashAttn) != 0)) 3453if ((result & Check.BackslashInPath) != 0) 3456else if ((result & Check.BackslashInPath) != 0) 3463if ((result & Check.DisplayCanonical) == 0) 3470(result & Check.ReservedFound) != 0) 3478if (((_flags & Flags.ImplicitFile) != 0) && (result & (Check.ReservedFound | Check.EscapedCanonical)) != 0) 3481result &= ~Check.EscapedCanonical; 3484if ((result & Check.EscapedCanonical) == 0) 3490if (IriParsing && !nonCanonical && ((result & (Check.DisplayCanonical | Check.EscapedCanonical 3491| Check.FoundNonAscii | Check.NotIriCanonical)) 3492== (Check.DisplayCanonical | Check.FoundNonAscii))) 3539if ((result & Check.DisplayCanonical) == 0) 3544if ((result & (Check.EscapedCanonical | Check.BackslashInPath)) != Check.EscapedCanonical) 3549if (IriParsing && ((result & (Check.DisplayCanonical | Check.EscapedCanonical | Check.BackslashInPath 3550| Check.FoundNonAscii | Check.NotIriCanonical)) 3551== (Check.DisplayCanonical | Check.FoundNonAscii))) 3587if ((result & Check.DisplayCanonical) == 0) 3592if ((result & (Check.EscapedCanonical | Check.BackslashInPath)) != Check.EscapedCanonical) 3597if (IriParsing && ((result & (Check.DisplayCanonical | Check.EscapedCanonical | Check.BackslashInPath 3598| Check.FoundNonAscii | Check.NotIriCanonical)) 3599== (Check.DisplayCanonical | Check.FoundNonAscii))) 4147private unsafe Check CheckCanonical(char* str, ref int idx, int end, char delim) 4149Check res = Check.None; 4164res |= Check.ReservedFound; 4171res |= Check.FoundNonAscii; 4184if (!valid) res |= Check.NotIriCanonical; 4205res |= Check.ReservedFound; 4217res |= Check.ReservedFound; 4223if ((res & Check.BackslashInPath) == 0 && c == '\\') 4225res |= Check.BackslashInPath; 4227if ((res & Check.DotSlashAttn) == 0 && i + 1 != end && (str[i + 1] == '/' || str[i + 1] == '\\')) 4229res |= Check.DotSlashAttn; 4234if ((res & Check.DotSlashAttn) == 0 && i + 1 == end || str[i + 1] == '.' || str[i + 1] == '/' 4237res |= Check.DotSlashAttn; 4251res |= Check.NotIriCanonical; 4266res |= Check.DotSlashEscaped; 4283res |= Check.EscapedCanonical; 4288res |= Check.DisplayCanonical; 4291res |= Check.EscapedCanonical;
System\UriExt.cs (13)
456& (Check.BackslashInPath | Check.EscapedCanonical)) == Check.EscapedCanonical; 543Check result = CheckCanonical(str, ref idx, _info.Offset.Path, '/'); 544if (((result & (Check.ReservedFound | Check.BackslashInPath | Check.EscapedCanonical)) 545!= Check.EscapedCanonical) 546&& (!IriParsing || (result & (Check.DisplayCanonical | Check.FoundNonAscii | Check.NotIriCanonical)) 547!= (Check.DisplayCanonical | Check.FoundNonAscii)))