23 references to GetCustomAttribute
mscorlib (1)
system\reflection\CustomAttributeExtensions.cs (1)
18return Attribute.GetCustomAttribute(element, attributeType);
PresentationFramework (5)
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (3)
249TextElementEditingBehaviorAttribute att = (TextElementEditingBehaviorAttribute)Attribute.GetCustomAttribute(nextElement.GetType(), typeof(TextElementEditingBehaviorAttribute)); 471TextElementEditingBehaviorAttribute att = (TextElementEditingBehaviorAttribute)Attribute.GetCustomAttribute(thisElement.ParentType, typeof(TextElementEditingBehaviorAttribute)); 1764TextElementEditingBehaviorAttribute behaviorAttribute = (TextElementEditingBehaviorAttribute)Attribute.GetCustomAttribute(navigator.ParentType, typeof(TextElementEditingBehaviorAttribute));
src\Framework\System\Windows\Documents\TextSchema.cs (1)
289TextElementEditingBehaviorAttribute att = (TextElementEditingBehaviorAttribute)Attribute.GetCustomAttribute(elementType, typeof(TextElementEditingBehaviorAttribute));
src\Framework\System\windows\Documents\TextSelection.cs (1)
1492TextElementEditingBehaviorAttribute att = (TextElementEditingBehaviorAttribute)Attribute.GetCustomAttribute(element.GetType(), typeof(TextElementEditingBehaviorAttribute));
System.ComponentModel.DataAnnotations (1)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
106MetadataTypeAttribute attribute = (MetadataTypeAttribute)Attribute.GetCustomAttribute(type, typeof(MetadataTypeAttribute));
System.Configuration (7)
System\Configuration\ConfigurationElement.cs (5)
742Attribute.GetCustomAttribute(propertyInformation, 751Attribute.GetCustomAttribute(propertyInformation, 757Attribute.GetCustomAttribute(propertyType, 815ConfigurationValidatorAttribute attribValidator = Attribute.GetCustomAttribute(type, typeof(ConfigurationValidatorAttribute)) as ConfigurationValidatorAttribute; 845Attribute.GetCustomAttribute(propertyInformation,
System\Configuration\ConfigurationProperty.cs (2)
131Attribute.GetCustomAttribute(info, 137Attribute.GetCustomAttribute(propertyType,
System.Core (2)
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
521if (Attribute.GetCustomAttribute(node.Method, typeof(ExtensionAttribute)) != null) {
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
127Attribute dispIdAttribute = Attribute.GetCustomAttribute(methodInfo, typeof(DispIdAttribute));
System.Data.Linq (3)
Mapping\AttributedMetaModel.cs (3)
1036this.attrColumn = (ColumnAttribute)Attribute.GetCustomAttribute(mi, typeof(ColumnAttribute)); 1037this.attrAssoc = (AssociationAttribute)Attribute.GetCustomAttribute(mi, typeof(AssociationAttribute)); 1364AssociationAttribute oattr = (AssociationAttribute)Attribute.GetCustomAttribute(omm.Member, typeof(AssociationAttribute));
System.Web (2)
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
273UrlPropertyAttribute urlAttrib = Attribute.GetCustomAttribute(pse.PropertyInfo, typeof(UrlPropertyAttribute)) as UrlPropertyAttribute;
UI\ThemeableAttribute.cs (1)
100ThemeableAttribute attr = Attribute.GetCustomAttribute(type, typeof(ThemeableAttribute)) as ThemeableAttribute;
System.Workflow.Activities (1)
Common\CompModHelpers.cs (1)
732designerSerializationVisibility = (Attribute.GetCustomAttribute(memberInfo, typeof(DesignerSerializationVisibilityAttribute)) as DesignerSerializationVisibilityAttribute).Visibility;
System.Workflow.ComponentModel (1)
Shared\CompModHelpers.cs (1)
730designerSerializationVisibility = (Attribute.GetCustomAttribute(memberInfo, typeof(DesignerSerializationVisibilityAttribute)) as DesignerSerializationVisibilityAttribute).Visibility;