use explicit type declarations instead of LINQ Cast().

This commit is contained in:
morkt
2016-03-22 06:58:28 +04:00
parent 0a8454d95d
commit 65d04bc1c2
7 changed files with 7 additions and 9 deletions

View File

@@ -27,7 +27,6 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using GameRes.Utility;
namespace GameRes.Formats.Ankh
@@ -78,7 +77,7 @@ namespace GameRes.Formats.Ankh
}
if (0 == dir.Count)
return null;
foreach (var entry in dir.Cast<PackedEntry>())
foreach (PackedEntry entry in dir)
{
if (entry.Size < 4)
continue;