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