33 references to CustomAttribute
System.Private.CoreLib (33)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (1)
354
object[] result =
CustomAttribute
.CreateAttributeArrayHelper(attributeRuntimeType, includeMethodImplAttribute ? 1 : 0);
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (3)
55
return
CustomAttribute
.GetCustomAttributes(this, ObjectType, inherit);
65
return
CustomAttribute
.GetCustomAttributes(this, attributeRuntimeType, inherit);
198
return
CustomAttribute
.IsDefined(this, attributeRuntimeType, inherit);
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (3)
986
return
CustomAttribute
.GetCustomAttributes(m_bakedRuntimeType, (typeof(object) as RuntimeType)!, inherit);
999
return
CustomAttribute
.GetCustomAttributes(m_bakedRuntimeType, attributeRuntimeType, inherit);
1012
return
CustomAttribute
.IsDefined(m_bakedRuntimeType, attributeRuntimeType, inherit);
src\System\Reflection\RuntimeAssembly.cs (3)
329
return
CustomAttribute
.GetCustomAttributes(this, (typeof(object) as RuntimeType)!);
339
return
CustomAttribute
.GetCustomAttributes(this, attributeRuntimeType);
349
return
CustomAttribute
.IsDefined(this, attributeRuntimeType);
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (3)
131
return
CustomAttribute
.GetCustomAttributes(this, (typeof(object) as RuntimeType)!);
141
return
CustomAttribute
.GetCustomAttributes(this, attributeRuntimeType);
151
return
CustomAttribute
.IsDefined(this, attributeRuntimeType);
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
1976
AttributeUsageAttribute usage =
CustomAttribute
.GetAttributeUsage(pca);
src\System\Reflection\RuntimeEventInfo.cs (3)
91
return
CustomAttribute
.GetCustomAttributes(this, (typeof(object) as RuntimeType)!);
101
return
CustomAttribute
.GetCustomAttributes(this, attributeRuntimeType);
111
return
CustomAttribute
.IsDefined(this, attributeRuntimeType);
src\System\Reflection\RuntimeFieldInfo.cs (3)
62
return
CustomAttribute
.GetCustomAttributes(this, (typeof(object) as RuntimeType)!);
72
return
CustomAttribute
.GetCustomAttributes(this, attributeRuntimeType);
82
return
CustomAttribute
.IsDefined(this, attributeRuntimeType);
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (3)
174
return
CustomAttribute
.GetCustomAttributes(this, (typeof(object) as RuntimeType)!, inherit);
184
return
CustomAttribute
.GetCustomAttributes(this, attributeRuntimeType, inherit);
194
return
CustomAttribute
.IsDefined(this, attributeRuntimeType, inherit);
src\System\Reflection\RuntimeModule.cs (3)
355
return
CustomAttribute
.GetCustomAttributes(this, (typeof(object) as RuntimeType)!);
365
return
CustomAttribute
.GetCustomAttributes(this, attributeRuntimeType);
375
return
CustomAttribute
.IsDefined(this, attributeRuntimeType);
src\System\Reflection\RuntimeParameterInfo.cs (4)
460
return
CustomAttribute
.GetCustomAttributes(this, (typeof(object) as RuntimeType)!);
471
return
CustomAttribute
.CreateAttributeArrayHelper(attributeRuntimeType, 0);
473
return
CustomAttribute
.GetCustomAttributes(this, attributeRuntimeType);
486
return
CustomAttribute
.IsDefined(this, attributeRuntimeType);
src\System\Reflection\RuntimePropertyInfo.cs (3)
139
return
CustomAttribute
.GetCustomAttributes(this, (typeof(object) as RuntimeType)!);
149
return
CustomAttribute
.GetCustomAttributes(this, attributeRuntimeType);
159
return
CustomAttribute
.IsDefined(this, attributeRuntimeType);