1 instantiation of SegmentAsValueType
System.IO.Pipelines (1)
System\IO\Pipelines\BufferSegmentStack.cs (1)
84public static implicit operator SegmentAsValueType(BufferSegment s) => new SegmentAsValueType(s);
7 references to SegmentAsValueType
System.IO.Pipelines (7)
System\IO\Pipelines\BufferSegmentStack.cs (7)
14private SegmentAsValueType[] _array; 19_array = new SegmentAsValueType[size]; 28SegmentAsValueType[] array = _array; 46SegmentAsValueType[] array = _array; 73/// We use <see cref="SegmentAsValueType"/> as a wrapper to avoid paying the cost of covariant checks whenever 84public static implicit operator SegmentAsValueType(BufferSegment s) => new SegmentAsValueType(s); 85public static implicit operator BufferSegment(SegmentAsValueType s) => s._value;