Changeset 1427 for branches/eraser6/BlackBox
- Timestamp:
- 12/24/2009 8:52:52 AM (3 years ago)
- File:
-
- 1 edited
-
branches/eraser6/BlackBox/Eraser.Util/BlackBox.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/BlackBox/Eraser.Util/BlackBox.cs
r1426 r1427 265 265 DirectoryInfo dirInfo = new DirectoryInfo(CrashReportsPath); 266 266 List<BlackBoxReport> result = new List<BlackBoxReport>(); 267 foreach (DirectoryInfo subDir in dirInfo.GetDirectories()) 268 result.Add(new BlackBoxReport(Path.Combine(CrashReportsPath, subDir.Name))); 267 if (dirInfo.Exists) 268 foreach (DirectoryInfo subDir in dirInfo.GetDirectories()) 269 result.Add(new BlackBoxReport(Path.Combine(CrashReportsPath, subDir.Name))); 269 270 270 271 return result.ToArray();
Note: See TracChangeset
for help on using the changeset viewer.
