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)
36public bool Equals(UsageEntryRef other) => _ref == other._ref; 42public override int GetHashCode() => (int)_ref; 44internal int PageIndex => (int)(_ref >> PAGE_SHIFT); 50int result = (int)(sbyte)(_ref & ENTRY_MASK); 60int result = (int)(sbyte)(_ref & ENTRY_MASK); 66internal bool IsRef1 => ((int)(sbyte)(_ref & ENTRY_MASK)) > 0; 68internal bool IsRef2 => ((int)(sbyte)(_ref & ENTRY_MASK)) < 0; 70internal bool IsInvalid => _ref == 0;