internal void SetObject(StackFrame frame, TargetMemoryAccess target,
TargetObject obj)
{
TargetLocation location = GetLocation (frame, target);
if (location == null)
throw new LocationInvalidException ();
type.SetObject (target, location, (TargetObject) obj);
}