Enable CA1010 and fix noncompliance

"Collections should implement generic interface"
This commit is contained in:
YoshiRulz 2020-06-18 03:26:30 +10:00
parent 8ca791852a
commit 7f99dd95d6
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
2 changed files with 1 additions and 4 deletions

View File

@ -29,9 +29,6 @@
<!-- Types that own disposable fields should be disposable -->
<Rule Id="CA1001" Action="Hidden" />
<!-- Collections should implement generic interface -->
<Rule Id="CA1010" Action="Hidden" />
<!-- Mark assemblies with assembly version -->
<Rule Id="CA1016" Action="Hidden" />

View File

@ -7,7 +7,7 @@ using Newtonsoft.Json;
namespace BizHawk.Client.Common
{
[JsonObject]
public class RecentFiles : IEnumerable
public class RecentFiles : IEnumerable<string>
{
// ReSharper disable once FieldCanBeMadeReadOnly.Local
private List<string> recentlist;