//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private void truncateLogFiles(long recoveredTransactionLogVersion, long recoveredTransactionOffset) throws java.io.IOException private void TruncateLogFiles(long recoveredTransactionLogVersion, long recoveredTransactionOffset) { File lastRecoveredTransactionLog = _logFiles.getLogFileForVersion(recoveredTransactionLogVersion); _fs.truncate(lastRecoveredTransactionLog, recoveredTransactionOffset); ForEachSubsequentLogFile(recoveredTransactionLogVersion, fileIndex => _fs.deleteFile(_logFiles.getLogFileForVersion(fileIndex))); }