private static MetadataImport CreateImport(string path) { var file = MemoryMapping.Create(path); return(new MetadataImport(file.GetRange(0, (int)System.Math.Min(file.Capacity, Int32.MaxValue)))); }