diff --git a/src/BizHawk.Tests/Client.Common/config/SerializationStabilityTests.cs b/src/BizHawk.Tests/Client.Common/config/SerializationStabilityTests.cs index 3f5baa4c90..4c809a94b6 100644 --- a/src/BizHawk.Tests/Client.Common/config/SerializationStabilityTests.cs +++ b/src/BizHawk.Tests/Client.Common/config/SerializationStabilityTests.cs @@ -13,7 +13,11 @@ namespace BizHawk.Tests.Client.Common.config [TestClass] public sealed class SerializationStabilityTests { +#if NET5_0 private static readonly IReadOnlySet KnownGoodFromStdlib = new HashSet +#else + private static readonly ICollection KnownGoodFromStdlib = new HashSet +#endif { typeof(bool), typeof(DateTime),