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