Enable CA1010 and fix noncompliance
"Collections should implement generic interface"
This commit is contained in:
parent
8ca791852a
commit
7f99dd95d6
|
@ -29,9 +29,6 @@
|
||||||
<!-- Types that own disposable fields should be disposable -->
|
<!-- Types that own disposable fields should be disposable -->
|
||||||
<Rule Id="CA1001" Action="Hidden" />
|
<Rule Id="CA1001" Action="Hidden" />
|
||||||
|
|
||||||
<!-- Collections should implement generic interface -->
|
|
||||||
<Rule Id="CA1010" Action="Hidden" />
|
|
||||||
|
|
||||||
<!-- Mark assemblies with assembly version -->
|
<!-- Mark assemblies with assembly version -->
|
||||||
<Rule Id="CA1016" Action="Hidden" />
|
<Rule Id="CA1016" Action="Hidden" />
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ using Newtonsoft.Json;
|
||||||
namespace BizHawk.Client.Common
|
namespace BizHawk.Client.Common
|
||||||
{
|
{
|
||||||
[JsonObject]
|
[JsonObject]
|
||||||
public class RecentFiles : IEnumerable
|
public class RecentFiles : IEnumerable<string>
|
||||||
{
|
{
|
||||||
// ReSharper disable once FieldCanBeMadeReadOnly.Local
|
// ReSharper disable once FieldCanBeMadeReadOnly.Local
|
||||||
private List<string> recentlist;
|
private List<string> recentlist;
|
||||||
|
|
Loading…
Reference in New Issue