private static void PopulateReports()
{
object obj = CrashReport.reportsLock;
lock (obj)
{
if (CrashReport.internalReports == null)
{
string[] reports = CrashReport.GetReports();
CrashReport.internalReports = new List <CrashReport>(reports.Length);
string[] array = reports;
for (int i = 0; i < array.Length; i++)
{
string text = array[i];
double value;
string reportData = CrashReport.GetReportData(text, out value);
DateTime dateTime = new DateTime(1970, 1, 1);
DateTime dateTime2 = dateTime.AddSeconds(value);
CrashReport.internalReports.Add(new CrashReport(text, dateTime2, reportData));
}
List <CrashReport> arg_AB_0 = CrashReport.internalReports;
if (CrashReport.< > f__mg$cache0 == null)
{
CrashReport.< > f__mg$cache0 = new Comparison <CrashReport>(CrashReport.Compare);
}
arg_AB_0.Sort(CrashReport.< > f__mg$cache0);
}
}
}