49 references to TriState
System (49)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (49)
152
if (Common.ValidateCacheByVaryHeader(ctx) ==
TriState
.Invalid) {
165
if (Common.ValidateCacheBySpecialCases(ctx) ==
TriState
.Invalid)
350
if (Common.OnUpdateCache(ctx, resp) !=
TriState
.Valid) {
670
internal static
TriState
OnUpdateCache(HttpRequestCacheValidator ctx, HttpWebResponse resp) {
678
return
TriState
.Unknown;
686
return
TriState
.Unknown;
691
return
TriState
.Unknown;
698
return
TriState
.Unknown;
713
return
TriState
.Unknown;
737
return
TriState
.Unknown;
750
return
TriState
.Valid;
754
TriState
result =
TriState
.Unknown;
770
return
TriState
.Unknown;
775
result =
TriState
.Valid;
779
result =
TriState
.Valid;
793
return
TriState
.Unknown;
796
return
TriState
.Valid;
801
return
TriState
.Valid;
819
return
TriState
.Unknown;
829
return
TriState
.Unknown;
851
return
TriState
.Valid;
863
if (result !=
TriState
.Valid) {
937
internal static
TriState
ValidateCacheBySpecialCases(HttpRequestCacheValidator ctx) {
951
return
TriState
.Invalid;
989
return
TriState
.Invalid;
1021
return
TriState
.Invalid;
1026
return
TriState
.Invalid;
1029
return
TriState
.Valid;
1283
if (ValidateCacheBySpecialCases(ctx) !=
TriState
.Valid) {
1333
internal static
TriState
ValidateCacheByVaryHeader(HttpRequestCacheValidator ctx) {
1336
return
TriState
.Unknown;
1345
return
TriState
.Invalid;
1350
return
TriState
.Invalid;
1356
return
TriState
.Invalid;
1389
return
TriState
.Invalid;
1396
return
TriState
.Invalid;
1402
return
TriState
.Valid;
1411
TriState
isPartial = CheckForRangeRequest(ctx, out ranges);
1413
if (isPartial ==
TriState
.Invalid) {
1418
if(isPartial ==
TriState
.Valid) {
1448
TriState
isRange = CheckForRangeRequest(ctx, out ranges);
1450
if (isRange ==
TriState
.Unknown) {
1454
if (isRange ==
TriState
.Invalid) {
1533
private static
TriState
CheckForRangeRequest(HttpRequestCacheValidator ctx, out string ranges) {
1540
return
TriState
.Invalid;
1548
return
TriState
.Unknown;
1553
return
TriState
.Valid;
1556
return
TriState
.Unknown;