/// <summary> /// Checks to see if two spans point at the same memory. Note that /// this does *not* check to see if the *contents* are equal. /// </summary> public bool Equals(ReadOnlySpan <T> other) { return((_length == other._length) && (_length == 0 || JitHelpers.ByRefEquals(ref JitHelpers.GetByRef <T>(ref _rawPointer), ref JitHelpers.GetByRef <T>(ref other._rawPointer)))); }