private static DecayPointer <T> CreateDecayedPointer(IntPtr pHeap, bool isString) { PointerMetadata meta = new PointerMetadata(Unsafe.SizeOf <T>(), true); var p = new DecayPointer <T>(pHeap, meta, isString); return(p); }
protected bool Equals(DecayPointer <T> other) { return(base.Equals(other) && _origin.Equals(other._origin) && m_offset == other.m_offset && Count == other.Count); }