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