System\Collections\Generic\OrderedDictionary.cs (8)
380bool modified = TryInsert(index: -1, key, value, InsertionBehavior.OverwriteExisting, out _);
397private bool TryInsert(int index, TKey key, TValue value, InsertionBehavior behavior, out int keyIndex)
413case InsertionBehavior.OverwriteExisting:
418case InsertionBehavior.ThrowOnExisting:
423Debug.Assert(behavior is InsertionBehavior.IgnoreInsertion, $"Unknown behavior: {behavior}");
489TryInsert(index: -1, key, value, InsertionBehavior.ThrowOnExisting, out _);
509return TryInsert(index: -1, key, value, InsertionBehavior.IgnoreInsertion, out index);
732TryInsert(index, key, value, InsertionBehavior.ThrowOnExisting, out _);