System\Collections\Generic\OrderedDictionary.cs (8)
374bool modified = TryInsert(index: -1, key, value, InsertionBehavior.OverwriteExisting, out _);
391private bool TryInsert(int index, TKey key, TValue value, InsertionBehavior behavior, out int keyIndex)
407case InsertionBehavior.OverwriteExisting:
412case InsertionBehavior.ThrowOnExisting:
417Debug.Assert(behavior is InsertionBehavior.IgnoreInsertion, $"Unknown behavior: {behavior}");
483TryInsert(index: -1, key, value, InsertionBehavior.ThrowOnExisting, out _);
503return TryInsert(index: -1, key, value, InsertionBehavior.IgnoreInsertion, out index);
727TryInsert(index, key, value, InsertionBehavior.ThrowOnExisting, out _);