public void Destroy() { ILRegister.DoDestroy(Domain); Domain = null; if (dllStream != null) { dllStream.Close(); dllStream = null; } if (pdbStream != null) { pdbStream.Close(); pdbStream = null; } }