93 references to Check
System.Private.Uri (93)
System\Uri.cs (80)
2493
Check
result;
2499
if ((result &
Check
.DisplayCanonical) == 0)
2503
if (NotAny(Flags.ImplicitFile) || (result &
Check
.ReservedFound) != 0)
2509
if (InFact(Flags.ImplicitFile) && (result & (
Check
.ReservedFound |
Check
.EscapedCanonical)) != 0)
2512
result &= ~
Check
.EscapedCanonical;
2515
if ((result & (
Check
.EscapedCanonical |
Check
.BackslashInPath)) !=
Check
.EscapedCanonical)
3263
Check
result =
Check
.None;
3300
if ((result &
Check
.DisplayCanonical) == 0)
3304
if ((result & (
Check
.EscapedCanonical |
Check
.BackslashInPath)) !=
Check
.EscapedCanonical)
3308
if (IriParsing && ((result & (
Check
.DisplayCanonical |
Check
.EscapedCanonical |
Check
.BackslashInPath
3309
|
Check
.FoundNonAscii |
Check
.NotIriCanonical))
3310
== (
Check
.DisplayCanonical |
Check
.FoundNonAscii)))
3473
if (((result &
Check
.DotSlashEscaped) != 0) && _syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes))
3479
if (((syntaxFlags & (UriSyntaxFlags.ConvertPathSlashes)) != 0) && (result &
Check
.BackslashInPath) != 0)
3486
(result &
Check
.DotSlashAttn) != 0))
3491
if ((result &
Check
.BackslashInPath) != 0)
3494
else if ((result &
Check
.BackslashInPath) != 0)
3501
if ((result &
Check
.DisplayCanonical) == 0)
3508
(result &
Check
.ReservedFound) != 0)
3516
if (((_flags & Flags.ImplicitFile) != 0) && (result & (
Check
.ReservedFound |
Check
.EscapedCanonical)) != 0)
3519
result &= ~
Check
.EscapedCanonical;
3522
if ((result &
Check
.EscapedCanonical) == 0)
3528
if (IriParsing && !nonCanonical && ((result & (
Check
.DisplayCanonical |
Check
.EscapedCanonical
3529
|
Check
.FoundNonAscii |
Check
.NotIriCanonical))
3530
== (
Check
.DisplayCanonical |
Check
.FoundNonAscii)))
3577
if ((result &
Check
.DisplayCanonical) == 0)
3582
if ((result & (
Check
.EscapedCanonical |
Check
.BackslashInPath)) !=
Check
.EscapedCanonical)
3587
if (IriParsing && ((result & (
Check
.DisplayCanonical |
Check
.EscapedCanonical |
Check
.BackslashInPath
3588
|
Check
.FoundNonAscii |
Check
.NotIriCanonical))
3589
== (
Check
.DisplayCanonical |
Check
.FoundNonAscii)))
3625
if ((result &
Check
.DisplayCanonical) == 0)
3630
if ((result & (
Check
.EscapedCanonical |
Check
.BackslashInPath)) !=
Check
.EscapedCanonical)
3635
if (IriParsing && ((result & (
Check
.DisplayCanonical |
Check
.EscapedCanonical |
Check
.BackslashInPath
3636
|
Check
.FoundNonAscii |
Check
.NotIriCanonical))
3637
== (
Check
.DisplayCanonical |
Check
.FoundNonAscii)))
4174
private unsafe
Check
CheckCanonical(char* str, ref int idx, int end, char delim)
4176
Check
res =
Check
.None;
4191
res |=
Check
.ReservedFound;
4198
res |=
Check
.FoundNonAscii;
4211
if (!valid) res |=
Check
.NotIriCanonical;
4232
res |=
Check
.ReservedFound;
4244
res |=
Check
.ReservedFound;
4250
if ((res &
Check
.BackslashInPath) == 0 && c == '\\')
4252
res |=
Check
.BackslashInPath;
4254
if ((res &
Check
.DotSlashAttn) == 0 && i + 1 != end && (str[i + 1] == '/' || str[i + 1] == '\\'))
4256
res |=
Check
.DotSlashAttn;
4261
if ((res &
Check
.DotSlashAttn) == 0 && i + 1 == end || str[i + 1] == '.' || str[i + 1] == '/'
4264
res |=
Check
.DotSlashAttn;
4278
res |=
Check
.NotIriCanonical;
4293
res |=
Check
.DotSlashEscaped;
4310
res |=
Check
.EscapedCanonical;
4315
res |=
Check
.DisplayCanonical;
4318
res |=
Check
.EscapedCanonical;
System\UriExt.cs (13)
457
& (
Check
.BackslashInPath |
Check
.EscapedCanonical)) ==
Check
.EscapedCanonical;
544
Check
result = CheckCanonical(str, ref idx, _info.Offset.Path, '/');
545
if (((result & (
Check
.ReservedFound |
Check
.BackslashInPath |
Check
.EscapedCanonical))
546
!=
Check
.EscapedCanonical)
547
&& (!IriParsing || (result & (
Check
.DisplayCanonical |
Check
.FoundNonAscii |
Check
.NotIriCanonical))
548
!= (
Check
.DisplayCanonical |
Check
.FoundNonAscii)))