93 references to Check
System.Private.Uri (93)
System\Uri.cs (80)
2446Check result; 2452if ((result & Check.DisplayCanonical) == 0) 2456if (NotAny(Flags.ImplicitFile) || (result & Check.ReservedFound) != 0) 2462if (InFact(Flags.ImplicitFile) && (result & (Check.ReservedFound | Check.EscapedCanonical)) != 0) 2465result &= ~Check.EscapedCanonical; 2468if ((result & (Check.EscapedCanonical | Check.BackslashInPath)) != Check.EscapedCanonical) 3212Check result = Check.None; 3249if ((result & Check.DisplayCanonical) == 0) 3253if ((result & (Check.EscapedCanonical | Check.BackslashInPath)) != Check.EscapedCanonical) 3257if (IriParsing && ((result & (Check.DisplayCanonical | Check.EscapedCanonical | Check.BackslashInPath 3258| Check.FoundNonAscii | Check.NotIriCanonical)) 3259== (Check.DisplayCanonical | Check.FoundNonAscii))) 3424if (((result & Check.DotSlashEscaped) != 0) && _syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes)) 3430if (((syntaxFlags & (UriSyntaxFlags.ConvertPathSlashes)) != 0) && (result & Check.BackslashInPath) != 0) 3437(result & Check.DotSlashAttn) != 0)) 3442if ((result & Check.BackslashInPath) != 0) 3445else if ((result & Check.BackslashInPath) != 0) 3452if ((result & Check.DisplayCanonical) == 0) 3459(result & Check.ReservedFound) != 0) 3467if (((_flags & Flags.ImplicitFile) != 0) && (result & (Check.ReservedFound | Check.EscapedCanonical)) != 0) 3470result &= ~Check.EscapedCanonical; 3473if ((result & Check.EscapedCanonical) == 0) 3479if (IriParsing && !nonCanonical && ((result & (Check.DisplayCanonical | Check.EscapedCanonical 3480| Check.FoundNonAscii | Check.NotIriCanonical)) 3481== (Check.DisplayCanonical | Check.FoundNonAscii))) 3534if ((result & Check.DisplayCanonical) == 0) 3539if ((result & (Check.EscapedCanonical | Check.BackslashInPath)) != Check.EscapedCanonical) 3544if (IriParsing && ((result & (Check.DisplayCanonical | Check.EscapedCanonical | Check.BackslashInPath 3545| Check.FoundNonAscii | Check.NotIriCanonical)) 3546== (Check.DisplayCanonical | Check.FoundNonAscii))) 3588if ((result & Check.DisplayCanonical) == 0) 3593if ((result & (Check.EscapedCanonical | Check.BackslashInPath)) != Check.EscapedCanonical) 3598if (IriParsing && ((result & (Check.DisplayCanonical | Check.EscapedCanonical | Check.BackslashInPath 3599| Check.FoundNonAscii | Check.NotIriCanonical)) 3600== (Check.DisplayCanonical | Check.FoundNonAscii))) 4138private unsafe Check CheckCanonical(char* str, ref int idx, int end, char delim) 4140Check res = Check.None; 4155res |= Check.ReservedFound; 4162res |= Check.FoundNonAscii; 4175if (!valid) res |= Check.NotIriCanonical; 4196res |= Check.ReservedFound; 4208res |= Check.ReservedFound; 4214if ((res & Check.BackslashInPath) == 0 && c == '\\') 4216res |= Check.BackslashInPath; 4218if ((res & Check.DotSlashAttn) == 0 && i + 1 != end && (str[i + 1] == '/' || str[i + 1] == '\\')) 4220res |= Check.DotSlashAttn; 4225if ((res & Check.DotSlashAttn) == 0 && i + 1 == end || str[i + 1] == '.' || str[i + 1] == '/' 4228res |= Check.DotSlashAttn; 4242res |= Check.NotIriCanonical; 4257res |= Check.DotSlashEscaped; 4274res |= Check.EscapedCanonical; 4279res |= Check.DisplayCanonical; 4282res |= Check.EscapedCanonical;
System\UriExt.cs (13)
461& (Check.BackslashInPath | Check.EscapedCanonical)) == Check.EscapedCanonical; 548Check result = CheckCanonical(str, ref idx, _info.Offset.Path, '/'); 549if (((result & (Check.ReservedFound | Check.BackslashInPath | Check.EscapedCanonical)) 550!= Check.EscapedCanonical) 551&& (!IriParsing || (result & (Check.DisplayCanonical | Check.FoundNonAscii | Check.NotIriCanonical)) 552!= (Check.DisplayCanonical | Check.FoundNonAscii)))