public Object GetIndirectObject(uint number, uint generation) { var hashCode = new Object {Generation = generation, Number = number}.GetHashCode(); Object obj; IndirectObjects.TryGetValue(hashCode, out obj); return obj; }
public void SetByName(string key, Object value) { var keyObject = GetByName(key); if (keyObject == null) { keyObject = new NameObject {Value = key}; } Values[keyObject] = value; }