public override void BindToName(Type serializedType, out string assemblyName, out string typeName) { assemblyName = null; var name = typeNameRegistry.GetNameOrNull(serializedType); if (name != null) { typeName = name; } else { base.BindToName(serializedType, out assemblyName, out typeName); } }