8 references to InsertionBehavior
System.Collections (8)
System\Collections\Generic\OrderedDictionary.cs (8)
380bool modified = TryInsert(index: -1, key, value, InsertionBehavior.OverwriteExisting); 396private bool TryInsert(int index, TKey key, TValue value, InsertionBehavior behavior) 409case InsertionBehavior.OverwriteExisting: 414case InsertionBehavior.ThrowOnExisting: 419Debug.Assert(behavior is InsertionBehavior.IgnoreInsertion, $"Unknown behavior: {behavior}"); 482TryInsert(index: -1, key, value, InsertionBehavior.ThrowOnExisting); 494return TryInsert(index: -1, key, value, InsertionBehavior.IgnoreInsertion); 717TryInsert(index, key, value, InsertionBehavior.ThrowOnExisting);