Lines Matching refs:Remove
97 map.Remove("b"); in AddPreservesInsertionOrder()
216 Assert.IsFalse(map.Remove("missing")); in Remove_Key()
218 Assert.IsTrue(map.Remove("foo")); in Remove_Key()
220 Assert.Throws<ArgumentNullException>(() => map.Remove(null)); in Remove_Key()
230 Assert.IsFalse(collection.Remove(NewKeyValuePair("wrong key", "bar"))); in Remove_Pair()
232 Assert.IsFalse(collection.Remove(NewKeyValuePair("foo", "wrong value"))); in Remove_Pair()
234 Assert.IsTrue(collection.Remove(NewKeyValuePair("foo", "bar"))); in Remove_Pair()
236 …Assert.Throws<ArgumentException>(() => collection.Remove(new KeyValuePair<string, string>(null, ""… in Remove_Pair()
341 dictionary.Remove("a"); in IDictionary_Remove()
343 dictionary.Remove(5); in IDictionary_Remove()
345 dictionary.Remove(new DictionaryEntry("x", "y")); in IDictionary_Remove()
347 dictionary.Remove("x"); in IDictionary_Remove()
349 Assert.Throws<ArgumentNullException>(() => dictionary.Remove(null)); in IDictionary_Remove()
458 Assert.Throws<NotSupportedException>(() => keys.Remove("a")); in ViewsAreReadOnly()