1 write to _ref
System.Runtime.Caching (1)
System\Runtime\Caching\CacheUsage.cs (1)
31_ref = ((((uint)pageIndex) << PAGE_SHIFT) | (((uint)(entryIndex)) & ENTRY_MASK));
9 references to _ref
System.Runtime.Caching (9)
System\Runtime\Caching\CacheUsage.cs (9)
37public bool Equals(UsageEntryRef other) => _ref == other._ref; 43public override int GetHashCode() => (int)_ref; 45internal int PageIndex => (int)(_ref >> PAGE_SHIFT); 51int result = (int)(sbyte)(_ref & ENTRY_MASK); 61int result = (int)(sbyte)(_ref & ENTRY_MASK); 67internal bool IsRef1 => ((int)(sbyte)(_ref & ENTRY_MASK)) > 0; 69internal bool IsRef2 => ((int)(sbyte)(_ref & ENTRY_MASK)) < 0; 71internal bool IsInvalid => _ref == 0;