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)))
4182
private unsafe
Check
CheckCanonical(char* str, ref int idx, int end, char delim)
4184
Check
res =
Check
.None;
4199
res |=
Check
.ReservedFound;
4206
res |=
Check
.FoundNonAscii;
4219
if (!valid) res |=
Check
.NotIriCanonical;
4240
res |=
Check
.ReservedFound;
4252
res |=
Check
.ReservedFound;
4258
if ((res &
Check
.BackslashInPath) == 0 && c == '\\')
4260
res |=
Check
.BackslashInPath;
4262
if ((res &
Check
.DotSlashAttn) == 0 && i + 1 != end && (str[i + 1] == '/' || str[i + 1] == '\\'))
4264
res |=
Check
.DotSlashAttn;
4269
if ((res &
Check
.DotSlashAttn) == 0 && i + 1 == end || str[i + 1] == '.' || str[i + 1] == '/'
4272
res |=
Check
.DotSlashAttn;
4286
res |=
Check
.NotIriCanonical;
4301
res |=
Check
.DotSlashEscaped;
4318
res |=
Check
.EscapedCanonical;
4323
res |=
Check
.DisplayCanonical;
4326
res |=
Check
.EscapedCanonical;
System\UriExt.cs (13)
456
& (
Check
.BackslashInPath |
Check
.EscapedCanonical)) ==
Check
.EscapedCanonical;
543
Check
result = CheckCanonical(str, ref idx, _info.Offset.Path, '/');
544
if (((result & (
Check
.ReservedFound |
Check
.BackslashInPath |
Check
.EscapedCanonical))
545
!=
Check
.EscapedCanonical)
546
&& (!IriParsing || (result & (
Check
.DisplayCanonical |
Check
.FoundNonAscii |
Check
.NotIriCanonical))
547
!= (
Check
.DisplayCanonical |
Check
.FoundNonAscii)))