1 write to AssociatedMetadataType
System.ComponentModel.DataAnnotations (1)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
24AssociatedMetadataType = associatedMetadataType ?? TypeDescriptorCache.GetAssociatedMetadataType(type);
7 references to AssociatedMetadataType
System.ComponentModel.DataAnnotations (7)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (7)
25IsSelfAssociated = (type == AssociatedMetadataType); 26if (AssociatedMetadataType != null) { 27TypeDescriptorCache.ValidateMetadataType(type, AssociatedMetadataType); 40if (AssociatedMetadataType == null) { 47Attribute[] newMetadata = TypeDescriptorCache.GetAssociatedMetadata(AssociatedMetadataType, propDescriptor.Name); 69if (AssociatedMetadataType != null && !IsSelfAssociated) { 74Attribute[] newAttributes = TypeDescriptor.GetAttributes(AssociatedMetadataType).OfType<Attribute>().ToArray();