diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-10 18:22:34 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-10 18:22:34 -0400 |
commit | 35c2e5968579ea578cf04e7550ab43bc5a4b8074 (patch) | |
tree | e72d14fdbc81041a16d788a39a45532f5286b301 /src/SMAPI.ModBuildConfig.Analyzer.Tests/Mock/Netcode | |
parent | 9e5c3912b6cfce0348aa2d88d30a11fe5b410e9c (diff) | |
download | SMAPI-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.cs | 2 |
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 { } } |