Only use IReadOnlySet in .NET 5, ICollection for other targets
forgot AppVeyor compiles the test project for .NET Core 3.1
This commit is contained in:
parent
71cb9a8805
commit
c5802e9154
|
@ -13,7 +13,11 @@ namespace BizHawk.Tests.Client.Common.config
|
|||
[TestClass]
|
||||
public sealed class SerializationStabilityTests
|
||||
{
|
||||
#if NET5_0
|
||||
private static readonly IReadOnlySet<Type> KnownGoodFromStdlib = new HashSet<Type>
|
||||
#else
|
||||
private static readonly ICollection<Type> KnownGoodFromStdlib = new HashSet<Type>
|
||||
#endif
|
||||
{
|
||||
typeof(bool),
|
||||
typeof(DateTime),
|
||||
|
|
Loading…
Reference in New Issue