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