diff --git a/GameRes/GameRes.cs b/GameRes/GameRes.cs index 04db1c9e..fa5264d4 100644 --- a/GameRes/GameRes.cs +++ b/GameRes/GameRes.cs @@ -326,7 +326,7 @@ namespace GameRes { string ext = Path.GetExtension (filename); if (string.IsNullOrEmpty (ext)) - return new IResource[0]; + return Enumerable.Empty(); return LookupExtension (ext.TrimStart ('.')); }