@@ -161,6 +161,20 @@ public ref partial struct Enumerator
161161 public bool MoveNext ( ) { throw null ; }
162162 }
163163 }
164+ public readonly partial struct SequencePosition : System . IEquatable < System . SequencePosition >
165+ {
166+ private readonly object _dummy ;
167+ public SequencePosition ( object segment , int index ) { throw null ; }
168+ public int Index { get { throw null ; } }
169+ public object Segment { get { throw null ; } }
170+ [ System . ComponentModel . EditorBrowsableAttribute ( ( System . ComponentModel . EditorBrowsableState ) ( 1 ) ) ]
171+ public override bool Equals ( object obj ) { throw null ; }
172+ public bool Equals ( System . SequencePosition position ) { throw null ; }
173+ public override int GetHashCode ( ) { throw null ; }
174+ public static bool operator == ( System . SequencePosition left , System . SequencePosition right ) { throw null ; }
175+ public static bool operator != ( System . SequencePosition left , System . SequencePosition right ) { throw null ; }
176+ public override string ToString ( ) { throw null ; }
177+ }
164178 public readonly ref partial struct Span < T >
165179 {
166180 private readonly object _dummy;
@@ -202,6 +216,12 @@ public ref partial struct Enumerator
202216}
203217namespace System. Buffers
204218{
219+ public partial interface IMemoryList< T >
220+ {
221+ System . Memory < T > Memory { get ; }
222+ System . Buffers . IMemoryList < T > Next { get ; }
223+ long RunningIndex { get ; }
224+ }
205225 public partial interface IRetainable
206226 {
207227 bool Release( ) ;
@@ -248,6 +268,49 @@ public void Dispose() { }
248268 public abstract void Retain ( ) ;
249269 protected internal abstract bool TryGetArray ( out System . ArraySegment < T > arraySegment ) ;
250270 }
271+ public static partial class BuffersExtensions
272+ {
273+ public static void CopyTo < T > ( this System . Buffers . ReadOnlySequence < T > sequence , System . Span < T > destination ) { }
274+ public static System . Nullable < System . SequencePosition > PositionOf < T > ( this System . Buffers . ReadOnlySequence < T > sequence , T value ) where T : System . IEquatable < T > { throw null ; }
275+ public static T [ ] ToArray < T > ( this System . Buffers . ReadOnlySequence < T > sequence ) { throw null ; }
276+ }
277+ public readonly partial struct ReadOnlySequence < T >
278+ {
279+ private readonly object _dummy ;
280+ public static readonly System . Buffers . ReadOnlySequence < T > Empty ;
281+ public ReadOnlySequence ( System . Buffers . IMemoryList < T > startSegment , int startIndex , System . Buffers . IMemoryList < T > endSegment , int endIndex ) { throw null ; }
282+ public ReadOnlySequence ( T [ ] array ) { throw null ; }
283+ public ReadOnlySequence ( T [ ] array , int start , int length ) { throw null ; }
284+ public ReadOnlySequence ( System . ReadOnlyMemory < T > memory ) { throw null ; }
285+ public ReadOnlySequence ( System . Buffers . OwnedMemory < T > memory ) { throw null ; }
286+ public ReadOnlySequence ( System . Buffers . OwnedMemory < T > memory , int start , int length ) { throw null ; }
287+ public System . SequencePosition End { get { throw null ; } }
288+ public System . ReadOnlyMemory < T > First { get { throw null ; } }
289+ public bool IsEmpty { get { throw null ; } }
290+ public bool IsSingleSegment { get { throw null ; } }
291+ public long Length { get { throw null ; } }
292+ public System . SequencePosition Start { get { throw null ; } }
293+ public System . Buffers . ReadOnlySequence < T > . Enumerator GetEnumerator ( ) { throw null ; }
294+ public System . SequencePosition GetPosition ( System . SequencePosition origin , long offset ) { throw null ; }
295+ public System . Buffers . ReadOnlySequence < T > Slice ( int start , int length ) { throw null ; }
296+ public System . Buffers . ReadOnlySequence < T > Slice ( int start , System . SequencePosition end ) { throw null ; }
297+ public System . Buffers . ReadOnlySequence < T > Slice ( long start ) { throw null ; }
298+ public System . Buffers . ReadOnlySequence < T > Slice ( long start , long length ) { throw null ; }
299+ public System . Buffers . ReadOnlySequence < T > Slice ( long start , System . SequencePosition end ) { throw null ; }
300+ public System . Buffers . ReadOnlySequence < T > Slice ( System . SequencePosition start ) { throw null ; }
301+ public System . Buffers . ReadOnlySequence < T > Slice ( System . SequencePosition start , int length ) { throw null ; }
302+ public System . Buffers . ReadOnlySequence < T > Slice ( System . SequencePosition start , long length ) { throw null ; }
303+ public System . Buffers . ReadOnlySequence < T > Slice ( System . SequencePosition start , System . SequencePosition end ) { throw null ; }
304+ public override string ToString ( ) { throw null ; }
305+ public bool TryGet ( ref System . SequencePosition position , out System . ReadOnlyMemory < T > data , bool advance = true ) { throw null ; }
306+ public partial struct Enumerator
307+ {
308+ private object _dummy ;
309+ public Enumerator ( System . Buffers . ReadOnlySequence < T > sequence ) { throw null ; }
310+ public System . ReadOnlyMemory < T > Current { get { throw null ; } }
311+ public bool MoveNext ( ) { throw null ; }
312+ }
313+ }
251314 public readonly partial struct StandardFormat : System . IEquatable < System . Buffers . StandardFormat >
252315 {
253316 private readonly int _dummy ;
0 commit comments