93 references to Check
System.Private.Uri (93)
System\Uri.cs (80)
2474
Check
result;
2480
if ((result &
Check
.DisplayCanonical) == 0)
2484
if (NotAny(Flags.ImplicitFile) || (result &
Check
.ReservedFound) != 0)
2490
if (InFact(Flags.ImplicitFile) && (result & (
Check
.ReservedFound |
Check
.EscapedCanonical)) != 0)
2493
result &= ~
Check
.EscapedCanonical;
2496
if ((result & (
Check
.EscapedCanonical |
Check
.BackslashInPath)) !=
Check
.EscapedCanonical)
3225
Check
result =
Check
.None;
3262
if ((result &
Check
.DisplayCanonical) == 0)
3266
if ((result & (
Check
.EscapedCanonical |
Check
.BackslashInPath)) !=
Check
.EscapedCanonical)
3270
if (IriParsing && ((result & (
Check
.DisplayCanonical |
Check
.EscapedCanonical |
Check
.BackslashInPath
3271
|
Check
.FoundNonAscii |
Check
.NotIriCanonical))
3272
== (
Check
.DisplayCanonical |
Check
.FoundNonAscii)))
3435
if (((result &
Check
.DotSlashEscaped) != 0) && _syntax.InFact(UriSyntaxFlags.UnEscapeDotsAndSlashes))
3441
if (((syntaxFlags & (UriSyntaxFlags.ConvertPathSlashes)) != 0) && (result &
Check
.BackslashInPath) != 0)
3448
(result &
Check
.DotSlashAttn) != 0))
3453
if ((result &
Check
.BackslashInPath) != 0)
3456
else if ((result &
Check
.BackslashInPath) != 0)
3463
if ((result &
Check
.DisplayCanonical) == 0)
3470
(result &
Check
.ReservedFound) != 0)
3478
if (((_flags & Flags.ImplicitFile) != 0) && (result & (
Check
.ReservedFound |
Check
.EscapedCanonical)) != 0)
3481
result &= ~
Check
.EscapedCanonical;
3484
if ((result &
Check
.EscapedCanonical) == 0)
3490
if (IriParsing && !nonCanonical && ((result & (
Check
.DisplayCanonical |
Check
.EscapedCanonical
3491
|
Check
.FoundNonAscii |
Check
.NotIriCanonical))
3492
== (
Check
.DisplayCanonical |
Check
.FoundNonAscii)))
3539
if ((result &
Check
.DisplayCanonical) == 0)
3544
if ((result & (
Check
.EscapedCanonical |
Check
.BackslashInPath)) !=
Check
.EscapedCanonical)
3549
if (IriParsing && ((result & (
Check
.DisplayCanonical |
Check
.EscapedCanonical |
Check
.BackslashInPath
3550
|
Check
.FoundNonAscii |
Check
.NotIriCanonical))
3551
== (
Check
.DisplayCanonical |
Check
.FoundNonAscii)))
3587
if ((result &
Check
.DisplayCanonical) == 0)
3592
if ((result & (
Check
.EscapedCanonical |
Check
.BackslashInPath)) !=
Check
.EscapedCanonical)
3597
if (IriParsing && ((result & (
Check
.DisplayCanonical |
Check
.EscapedCanonical |
Check
.BackslashInPath
3598
|
Check
.FoundNonAscii |
Check
.NotIriCanonical))
3599
== (
Check
.DisplayCanonical |
Check
.FoundNonAscii)))
4147
private unsafe
Check
CheckCanonical(char* str, ref int idx, int end, char delim)
4149
Check
res =
Check
.None;
4164
res |=
Check
.ReservedFound;
4171
res |=
Check
.FoundNonAscii;
4184
if (!valid) res |=
Check
.NotIriCanonical;
4205
res |=
Check
.ReservedFound;
4217
res |=
Check
.ReservedFound;
4223
if ((res &
Check
.BackslashInPath) == 0 && c == '\\')
4225
res |=
Check
.BackslashInPath;
4227
if ((res &
Check
.DotSlashAttn) == 0 && i + 1 != end && (str[i + 1] == '/' || str[i + 1] == '\\'))
4229
res |=
Check
.DotSlashAttn;
4234
if ((res &
Check
.DotSlashAttn) == 0 && i + 1 == end || str[i + 1] == '.' || str[i + 1] == '/'
4237
res |=
Check
.DotSlashAttn;
4251
res |=
Check
.NotIriCanonical;
4266
res |=
Check
.DotSlashEscaped;
4283
res |=
Check
.EscapedCanonical;
4288
res |=
Check
.DisplayCanonical;
4291
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)))