11 references to IsInvalid
System.Runtime.Caching (11)
System\Runtime\Caching\CacheExpires.cs (10)
338
Debug.Assert(((entries)[0]._next).
IsInvalid
, "FreeEntryHead(entries).IsInvalid");
512
Debug.Assert((cacheEntry.ExpiresBucket == 0xff) == entryRef.
IsInvalid
, "(cacheEntry.ExpiresBucket == 0xff) == entryRef.IsInvalid");
513
if (cacheEntry.ExpiresBucket != 0xff || !entryRef.
IsInvalid
)
523
Debug.Assert(cacheEntry.ExpiresEntryRef.
IsInvalid
, "cacheEntry.ExpiresEntryRef.IsInvalid");
546
if (cacheEntry.ExpiresBucket != _bucket || entryRef.
IsInvalid
)
588
if (cacheEntry.ExpiresBucket != _bucket || entryRef.
IsInvalid
)
695
Debug.Assert(!inFlushHead.
IsInvalid
, "!inFlushHead.IsInvalid");
700
while (!current.
IsInvalid
)
709
Debug.Assert(cacheEntry.ExpiresEntryRef.
IsInvalid
, "cacheEntry.ExpiresEntryRef.IsInvalid");
725
while (!current.
IsInvalid
)
System\Runtime\Caching\MemoryCacheEntry.cs (1)
75
return !_expiresEntryRef.
IsInvalid
;