private void WriteCompoundField(Compound compound) { if (compound.CanWriteField()) { // Compund property will begin segment for each of its fields compound.WriteField(this); } }