summaryrefslogtreecommitdiff
path: root/src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/Netcode
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-04-10 18:22:34 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-04-10 18:22:34 -0400
commit35c2e5968579ea578cf04e7550ab43bc5a4b8074 (patch)
treee72d14fdbc81041a16d788a39a45532f5286b301 /src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/Netcode
parent9e5c3912b6cfce0348aa2d88d30a11fe5b410e9c (diff)
downloadSMAPI-35c2e5968579ea578cf04e7550ab43bc5a4b8074.tar.gz
SMAPI-35c2e5968579ea578cf04e7550ab43bc5a4b8074.tar.bz2
SMAPI-35c2e5968579ea578cf04e7550ab43bc5a4b8074.zip
expand analyzer unit tests (#471)
Diffstat (limited to 'src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/Netcode')
-rw-r--r--src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/Netcode/NetRef.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/Netcode/NetRef.cs b/src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/Netcode/NetRef.cs
index 714c4a8d..be2459cc 100644
--- a/src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/Netcode/NetRef.cs
+++ b/src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/Netcode/NetRef.cs
@@ -2,5 +2,5 @@
namespace Netcode
{
/// <summary>A simplified version of Stardew Valley's <c>Netcode.NetRef</c> for unit testing.</summary>
- public class NetRef : NetFieldBase<object, NetRef> { }
+ public class NetRef<T> : NetFieldBase<T, NetRef<T>> where T : class { }
}