Exemple #1
0
 internal FixedBufferEnumerator(FixedBuffer <T> buffer)
 {
     _buffer = buffer;
     _buffer.Acquire();
     _index = -1;
 }
Exemple #2
0
 bool IEquatable <FixedBuffer <T> > .Equals(FixedBuffer <T> buffer)
 {
     ThrowIfInvalid();
     return(this._Ptr == buffer.Ptr && this.Length == buffer.Length && this._Timestamp == buffer.Timestamp &&
            this.AllocateThreadId == buffer.AllocateThreadId && this.Rid == buffer.Rid);
 }