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