internal void SetField(TargetMemoryAccess target, TargetLocation location,
NativeFieldInfo field, TargetObject obj)
{
TargetLocation field_loc = location.GetLocationAtOffset (field.Offset);
if (field.Type.IsByRef)
field_loc = field_loc.GetDereferencedLocation ();
if (!field.Type.IsByRef && field.IsBitfield)
field_loc = new BitfieldTargetLocation (
field_loc, field.BitOffset, field.BitSize);
// field.Type.SetObject (field_loc, obj);
throw new NotImplementedException ();
}