private void OnCompileCompleted() { MethodInvoker method = delegate () { CompileCompleted(); }; Invoke(method); }