public EnumTypeDescriptor GetEnumTypeDescriptor(Type type) { EnumTypeDescriptor retval; return this.enumTypeDescriptorsByType.TryGetValue(type, out retval) ? retval : null; }