public void CanInformCountainedValue() { WeakDictionary <object, object> dict = new WeakDictionary <object, object>(); object o = new object(); dict.Add("foo1", "bar"); dict.Add("foo2", o); Assert.IsTrue(dict.ContainsValue("bar")); Assert.IsTrue(dict.ContainsValue(o)); }