public static void ClearAssemblyList()
 {
     lock (_lock)
     {
         _loadedAssemblyFilenames = new AssemblyFilenameCollection();
         _inMemoryAssemblies = new List<Assembly>();
     }
 }
 private static void Flush()
 {
     lock (_lock)
     {
         _loadedAssemblyFilenames = new AssemblyFilenameCollection();
     }
 }