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)))
3428
if (((result &
Check
.DotSlashEscaped) != 0) && _syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes))
3434
if (((syntaxFlags & (UriSyntaxFlags.ConvertPathSlashes)) != 0) && (result &
Check
.BackslashInPath) != 0)
3441
(result &
Check
.DotSlashAttn) != 0))
3446
if ((result &
Check
.BackslashInPath) != 0)
3449
else if ((result &
Check
.BackslashInPath) != 0)
3456
if ((result &
Check
.DisplayCanonical) == 0)
3463
(result &
Check
.ReservedFound) != 0)
3471
if (((_flags & Flags.ImplicitFile) != 0) && (result & (
Check
.ReservedFound |
Check
.EscapedCanonical)) != 0)
3474
result &= ~
Check
.EscapedCanonical;
3477
if ((result &
Check
.EscapedCanonical) == 0)
3483
if (IriParsing && !nonCanonical && ((result & (
Check
.DisplayCanonical |
Check
.EscapedCanonical
3484
|
Check
.FoundNonAscii |
Check
.NotIriCanonical))
3485
== (
Check
.DisplayCanonical |
Check
.FoundNonAscii)))
3538
if ((result &
Check
.DisplayCanonical) == 0)
3543
if ((result & (
Check
.EscapedCanonical |
Check
.BackslashInPath)) !=
Check
.EscapedCanonical)
3548
if (IriParsing && ((result & (
Check
.DisplayCanonical |
Check
.EscapedCanonical |
Check
.BackslashInPath
3549
|
Check
.FoundNonAscii |
Check
.NotIriCanonical))
3550
== (
Check
.DisplayCanonical |
Check
.FoundNonAscii)))
3592
if ((result &
Check
.DisplayCanonical) == 0)
3597
if ((result & (
Check
.EscapedCanonical |
Check
.BackslashInPath)) !=
Check
.EscapedCanonical)
3602
if (IriParsing && ((result & (
Check
.DisplayCanonical |
Check
.EscapedCanonical |
Check
.BackslashInPath
3603
|
Check
.FoundNonAscii |
Check
.NotIriCanonical))
3604
== (
Check
.DisplayCanonical |
Check
.FoundNonAscii)))
4142
private unsafe
Check
CheckCanonical(char* str, ref int idx, int end, char delim)
4144
Check
res =
Check
.None;
4159
res |=
Check
.ReservedFound;
4166
res |=
Check
.FoundNonAscii;
4179
if (!valid) res |=
Check
.NotIriCanonical;
4200
res |=
Check
.ReservedFound;
4212
res |=
Check
.ReservedFound;
4218
if ((res &
Check
.BackslashInPath) == 0 && c == '\\')
4220
res |=
Check
.BackslashInPath;
4222
if ((res &
Check
.DotSlashAttn) == 0 && i + 1 != end && (str[i + 1] == '/' || str[i + 1] == '\\'))
4224
res |=
Check
.DotSlashAttn;
4229
if ((res &
Check
.DotSlashAttn) == 0 && i + 1 == end || str[i + 1] == '.' || str[i + 1] == '/'
4232
res |=
Check
.DotSlashAttn;
4246
res |=
Check
.NotIriCanonical;
4261
res |=
Check
.DotSlashEscaped;
4278
res |=
Check
.EscapedCanonical;
4283
res |=
Check
.DisplayCanonical;
4286
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)))