11 references to IsInvalid
System.Runtime.Caching (11)
System\Runtime\Caching\CacheExpires.cs (10)
335
Debug.Assert(((entries)[0]._next).
IsInvalid
, "FreeEntryHead(entries).IsInvalid");
508
Debug.Assert((cacheEntry.ExpiresBucket == 0xff) == entryRef.
IsInvalid
, "(cacheEntry.ExpiresBucket == 0xff) == entryRef.IsInvalid");
509
if (cacheEntry.ExpiresBucket != 0xff || !entryRef.
IsInvalid
)
519
Debug.Assert(cacheEntry.ExpiresEntryRef.
IsInvalid
, "cacheEntry.ExpiresEntryRef.IsInvalid");
542
if (cacheEntry.ExpiresBucket != _bucket || entryRef.
IsInvalid
)
584
if (cacheEntry.ExpiresBucket != _bucket || entryRef.
IsInvalid
)
691
Debug.Assert(!inFlushHead.
IsInvalid
, "!inFlushHead.IsInvalid");
696
while (!current.
IsInvalid
)
707
Debug.Assert(cacheEntry.ExpiresEntryRef.
IsInvalid
, "cacheEntry.ExpiresEntryRef.IsInvalid");
724
while (!current.
IsInvalid
)
System\Runtime\Caching\MemoryCacheEntry.cs (1)
75
return !_expiresEntryRef.
IsInvalid
;