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