13 references to GetCustomAttribute
Microsoft.ML.Core (1)
Utilities\Utils.cs (1)
1256
Attribute.
GetCustomAttribute
(field,
PresentationFramework (5)
System\Windows\Documents\TextRangeSerialization.cs (3)
236
TextElementEditingBehaviorAttribute att = (TextElementEditingBehaviorAttribute)Attribute.
GetCustomAttribute
(nextElement.GetType(), typeof(TextElementEditingBehaviorAttribute));
458
TextElementEditingBehaviorAttribute att = (TextElementEditingBehaviorAttribute)Attribute.
GetCustomAttribute
(thisElement.ParentType, typeof(TextElementEditingBehaviorAttribute));
1737
TextElementEditingBehaviorAttribute behaviorAttribute = (TextElementEditingBehaviorAttribute)Attribute.
GetCustomAttribute
(navigator.ParentType, typeof(TextElementEditingBehaviorAttribute));
System\Windows\Documents\TextSchema.cs (1)
285
TextElementEditingBehaviorAttribute att = (TextElementEditingBehaviorAttribute)Attribute.
GetCustomAttribute
(elementType, typeof(TextElementEditingBehaviorAttribute));
System\windows\Documents\TextSelection.cs (1)
1470
TextElementEditingBehaviorAttribute att = (TextElementEditingBehaviorAttribute)Attribute.
GetCustomAttribute
(element.GetType(), typeof(TextElementEditingBehaviorAttribute));
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
125
MetadataTypeAttribute? attribute = (MetadataTypeAttribute?)Attribute.
GetCustomAttribute
(type, typeof(MetadataTypeAttribute));
System.Configuration.ConfigurationManager (4)
System\Configuration\ConfigurationElement.cs (2)
738
Attribute.
GetCustomAttribute
(type, typeof(ConfigurationValidatorAttribute)) as
767
Attribute.
GetCustomAttribute
(propertyInformation,
System\Configuration\ConfigurationProperty.cs (2)
129
Attribute.
GetCustomAttribute
(info,
131
Attribute.
GetCustomAttribute
(propertyType,
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeExtensions.cs (1)
21
return Attribute.
GetCustomAttribute
(element, attributeType);
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
120
Attribute? dispIdAttribute = Attribute.
GetCustomAttribute
(methodInfo, typeof(DispIdAttribute));