diff --git a/Containers.Test/SlotClearingTests.cs b/Containers.Test/SlotClearingTests.cs
new file mode 100644
index 0000000..9e29535
--- /dev/null
+++ b/Containers.Test/SlotClearingTests.cs
@@ -0,0 +1,166 @@
+// Copyright (c) 2023-2026 ktsu-dev contributors
+
+namespace ktsu.Containers.Tests;
+
+using System.Runtime.CompilerServices;
+using System.Text.RegularExpressions;
+using Microsoft.VisualStudio.TestTools.UnitTesting;
+
+///
+/// Guards that removed and cleared slots stop keeping their contents alive, including for structs that
+/// hold references, which a plain value-type check misses on the netstandard builds (issue #79).
+///
+[TestClass]
+public partial class SlotClearingTests
+{
+ [GeneratedRegex(@"if\s*\(\s*!\s*typeof\([^)]*\)\.IsValueType\s*\)")]
+ private static partial Regex ValueTypeGuard();
+
+ [TestMethod]
+ public void IsNeeded_IsTrueForReferencesAndStructsHoldingThem()
+ {
+ Assert.IsTrue(SlotClearing.IsNeeded