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