示例#1
0
            FileImports TryReadImportsCache(string file)
            {
                var cache_imports_file = GetImportsCacheFile(cache_dir, file);

                if (BuildUtil.NeedToRegen(cache_imports_file, file))
                {
                    return(null);
                }

                try
                {
                    return(Marshall.File2Obj <FileImports>(cache_imports_file));
                }
                catch
                {
                    return(null);
                }
            }