public void Clear_ItemReferenceCountIsTwo_NextAddReturnsTrue() { Person person = new Person(); _target.Add(person); _target.Add(person); _target.Clear(); Assert.IsTrue(_target.Add(person)); }
void OnOuterReset(object sender) { _outerReferenceTracker.Clear(); _keyToOuterLookup.Clear(); _outerEntries.Clear(); RebuildAll(); FireReset(); }
public override void Clear() { _tracker.Clear(); base.Clear(); }