11 references to GetOffsetMask
Microsoft.CodeAnalysis.CodeStyle (11)
src\Dependencies\Collections\SegmentedArray.cs (8)
488var offset = _firstOffset & SegmentedArrayHelper.GetOffsetMask<T>(); 489Debug.Assert(offset == (_secondOffset & SegmentedArrayHelper.GetOffsetMask<T>()), "Aligned views must start at the same segment offset"); 591var firstOffset = (_completed + _firstOffset) & SegmentedArrayHelper.GetOffsetMask<T>(); 592var secondOffset = (_completed + _secondOffset) & SegmentedArrayHelper.GetOffsetMask<T>(); 639var firstOffset = (_firstOffset + _length - _completed - 1) & SegmentedArrayHelper.GetOffsetMask<T>(); 640var secondOffset = (_secondOffset + _length - _completed - 1) & SegmentedArrayHelper.GetOffsetMask<T>(); 732var offset = _offset & SegmentedArrayHelper.GetOffsetMask<T>(); 781var offset = _offset & SegmentedArrayHelper.GetOffsetMask<T>();
src\Dependencies\Collections\SegmentedArray`1.cs (1)
59return SegmentedArrayHelper.GetOffsetMask<T>();
src\Dependencies\Collections\SegmentedList`1.cs (2)
536if (0 == (_items.Length & SegmentedArrayHelper.GetOffsetMask<T>())) 558var lastSegmentLength = newCapacity & SegmentedArrayHelper.GetOffsetMask<T>();