public StructureType MergeOffsetStructures(StructureType a, int aOffset, StructureType b, int bOffset) { int delta = bOffset - aOffset; foreach (StructureField f in b.Fields) { f.Offset += delta; } return((StructureType)unifier.UnifyStructures(a, b)); }