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)
37
public bool Equals(UsageEntryRef other) =>
_ref
== other.
_ref
;
43
public override int GetHashCode() => (int)
_ref
;
45
internal int PageIndex => (int)(
_ref
>> PAGE_SHIFT);
51
int result = (int)(sbyte)(
_ref
& ENTRY_MASK);
61
int result = (int)(sbyte)(
_ref
& ENTRY_MASK);
67
internal bool IsRef1 => ((int)(sbyte)(
_ref
& ENTRY_MASK)) > 0;
69
internal bool IsRef2 => ((int)(sbyte)(
_ref
& ENTRY_MASK)) < 0;
71
internal bool IsInvalid =>
_ref
== 0;