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