A dictionary object: a mutable table from names to objects, written <<…>>.
public sealed class CosDictionary : CosObject, IDictionary<CosName, CosObject>, ICollection<KeyValuePair<CosName, CosObject>>, IReadOnlyDictionary<CosName, CosObject>, IReadOnlyCollection<KeyValuePair<CosName, CosObject>>, IEnumerable<KeyValuePair<CosName, CosObject>>, IEnumerable
ISO 32000-2 §7.3.7. Keys are CosName objects. An entry whose value is null is the same as an absent entry, so a dictionary never stores CosNull: setting an entry to Instance removes it, adding one does nothing, and a parser drops null-valued entries. Entries keep the order they were added in, which is the order they are written in; the order carries no meaning and DeepEquals(CosObject?, CosObject?) ignores it.
Any change through the dictionary API marks the dictionary dirty.
kind:method, kind:property, kind:ctor. Press Esc to clear.CosDictionary()Initializes a new, empty instance of the CosDictionary class.CountGets the number of entries.IsDirtyGets a value indicating whether this object, or a direct object it contains, has been changed through the public API since it was parsed or constructed. Always false for immutable objects.Item[CosName]Gets or sets the value for key. Setting Instance removes the entry. Setting marks the dictionary dirty.KeysGets the keys, in entry order.ValuesGets the values, in entry order.Add(CosName, CosObject)Adds an entry and marks the dictionary dirty. Adding Instance adds nothing.Clear()Removes every entry; marks the dictionary dirty when it was not already empty.GetEnumerator()Returns the entries, in entry order.Remove(CosName)Removes the entry for key; marks the dictionary dirty when one was removed.