C#: intermediary commit