如何使用Mono.Cecil保存更改的程序集?

我有一个没有AssemblyFactory类的Mono.Cecil版本。 可能它是Cecil类的0.9版本。 有出路吗?

只需使用AssemblyDefinition.Write(fileName)