public bool ShouldWriteTypeManifest(Type type, out ushort index) { return !TryGetValue(type, out index); }