3 references to TypeDescriptorCache
System.ComponentModel.DataAnnotations (3)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (3)
24
AssociatedMetadataType = associatedMetadataType ??
TypeDescriptorCache
.GetAssociatedMetadataType(type);
27
TypeDescriptorCache
.ValidateMetadataType(type, AssociatedMetadataType);
47
Attribute[] newMetadata =
TypeDescriptorCache
.GetAssociatedMetadata(AssociatedMetadataType, propDescriptor.Name);