public Pointer <byte> GetAddress <T>(ref T value) { Conditions.Require(!IsStatic, nameof(IsStatic)); Conditions.Require(Offset != FIELD_OFFSET_NEW_ENC); var data = Unsafe.AddressOfFields(ref value) + Offset; return(data); }
public Pointer <byte> GetAddress <T>(ref T value) { return(Unsafe.AddressOfFields(ref value).Cast() + Offset); }