The problem here is an infestation by a demon. That demon caused you to forget to put a matching close-curly-brace on the second place-holder in your formatted string:
MessageBox.Show(string.Format("Msg = {0}; StackTrace = {1})", ex.Message, ex.StackTrace));