public void AddStatements(string script, string filePath) { lock (_cache) { if (!_cache.ContainsKey(filePath)) { _cache[filePath] = new QueryCostCacheEntry(); } var cacheEntry = _cache[filePath]; //string checkSum = GetChecksum(filePath); //if (checkSum != cacheEntry.FileChecksum) //{ cacheEntry.Statements = BuildStatements(filePath); // cacheEntry.FileChecksum = checkSum; //} } }