public TypeDescriptor GetTypeDescriptor(Type type) { TypeDescriptor retval; return this.typeDescriptorsByType.TryGetValue(type, out retval) ? retval : null; }