Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​SequencePosition

Assembly: System.Memory

Implemented Interfaces

Represents a position in a non-contiguous set of memory. Properties of this type should not be interpreted by anything but the type that created it.

Methods

public bool
Equals​(object obj)
Returns a value that indicates whether the current instance is equal to another object.
Returns <see langword="true" /> if <paramref name="obj" /> is of type <see cref="T:System.SequencePosition" /> and is equal to the current instance; otherwise, <see langword="false" /> .
obj The object to compare with the current instance.
public bool
Equals​(SequencePosition other)
Indicates whether the current instance is equal to another <see cref="T:System.SequencePosition" /> .
Returns <see langword="true" /> if the two instances are equal; <see langword="false" /> otherwise.
other The sequence position to compare with the current instance.
public int
GetHashCode​()
Returns the hash code for this instance.
Returns The hash code for this instance.
public int
GetInteger​()
Returns the integer part of this <see cref="T:System.SequencePosition" /> .
Returns The integer part of this sequence position.
public object
GetObject​()
Returns the object part of this <see cref="T:System.SequencePosition" /> .
Returns The object part of this sequence position.
public string
ToString​()
Inherited from ValueType
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object