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