39 references to CustomAttribute
mscorlib (39)
system\reflection\assembly.cs (3)
1648return CustomAttribute.GetCustomAttributes(this, typeof(object) as RuntimeType); 1662return CustomAttribute.GetCustomAttributes(this, attributeRuntimeType); 1676return CustomAttribute.IsDefined(this, attributeRuntimeType);
system\reflection\ConstructorInfo.cs (4)
191!CustomAttribute.IsAttributeDefined(GetRuntimeModule(), MetadataToken, ctorToken)) 398return CustomAttribute.GetCustomAttributes(this, typeof(object) as RuntimeType); 412return CustomAttribute.GetCustomAttributes(this, attributeRuntimeType); 427return CustomAttribute.IsDefined(this, attributeRuntimeType);
system\reflection\customattribute.cs (5)
1346if (!inherit || (caType.IsSealed && !CustomAttribute.GetAttributeUsage(caType).Inherited)) 1447if (!inherit || (caType.IsSealed && !CustomAttribute.GetAttributeUsage(caType).Inherited)) 1986attributeUsageAttribute = CustomAttribute.GetAttributeUsage(attributeType); 2002attributeUsageAttribute = CustomAttribute.GetAttributeUsage(attributeType); 2164AttributeUsageAttribute usage = CustomAttribute.GetAttributeUsage(pca);
system\reflection\emit\typebuilder.cs (3)
1514return CustomAttribute.GetCustomAttributes(m_bakedRuntimeType, typeof(object) as RuntimeType, inherit); 1532return CustomAttribute.GetCustomAttributes(m_bakedRuntimeType, attributeRuntimeType, inherit); 1550return CustomAttribute.IsDefined(m_bakedRuntimeType, attributeRuntimeType, inherit);
system\reflection\eventinfo.cs (3)
306return CustomAttribute.GetCustomAttributes(this, typeof(object) as RuntimeType); 320return CustomAttribute.GetCustomAttributes(this, attributeRuntimeType); 335return CustomAttribute.IsDefined(this, attributeRuntimeType);
system\reflection\fieldinfo.cs (4)
329return CustomAttribute.GetCustomAttributes(this, typeof(object) as RuntimeType); 343return CustomAttribute.GetCustomAttributes(this, attributeRuntimeType); 358return CustomAttribute.IsDefined(this, attributeRuntimeType); 422!CustomAttribute.IsAttributeDefined(GetRuntimeModule(), MetadataToken, ctorToken))
system\reflection\methodinfo.cs (4)
157!CustomAttribute.IsAttributeDefined(GetRuntimeModule(), MetadataToken, ctorToken)) 480return CustomAttribute.GetCustomAttributes(this, typeof(object) as RuntimeType as RuntimeType, inherit); 495return CustomAttribute.GetCustomAttributes(this, attributeRuntimeType, inherit); 509return CustomAttribute.IsDefined(this, attributeRuntimeType, inherit);
system\reflection\module.cs (3)
1014return CustomAttribute.GetCustomAttributes(this, typeof(object) as RuntimeType); 1028return CustomAttribute.GetCustomAttributes(this, attributeRuntimeType); 1043return CustomAttribute.IsDefined(this, attributeRuntimeType);
system\reflection\parameterinfo.cs (3)
734return CustomAttribute.GetCustomAttributes(this, typeof(object) as RuntimeType); 751return CustomAttribute.GetCustomAttributes(this, attributeRuntimeType); 769return CustomAttribute.IsDefined(this, attributeRuntimeType);
system\reflection\propertyinfo.cs (3)
375return CustomAttribute.GetCustomAttributes(this, typeof(object) as RuntimeType); 389return CustomAttribute.GetCustomAttributes(this, attributeRuntimeType); 404return CustomAttribute.IsDefined(this, attributeRuntimeType);
system\rttype.cs (4)
2686!CustomAttribute.IsAttributeDefined(GetRuntimeModule(), MetadataToken, ctorToken)) 5030return CustomAttribute.GetCustomAttributes(this, RuntimeType.ObjectType, inherit); 5045return CustomAttribute.GetCustomAttributes(this, attributeRuntimeType, inherit); 5060return CustomAttribute.IsDefined(this, attributeRuntimeType, inherit);