12 references to GetCustomAttributes
System.Private.CoreLib (12)
System\Reflection\Runtime\EventInfos\RuntimeEventInfo.cs (2)
135
public sealed override object[] GetCustomAttributes(bool inherit) => RuntimeCustomAttribute.
GetCustomAttributes
(this, typeof(object), inherit: false);
140
return RuntimeCustomAttribute.
GetCustomAttributes
(this, attributeType, inherit: false);
System\Reflection\Runtime\FieldInfos\RuntimeFieldInfo.cs (2)
73
public sealed override object[] GetCustomAttributes(bool inherit) => RuntimeCustomAttribute.
GetCustomAttributes
(this, typeof(object), inherit);
78
return RuntimeCustomAttribute.
GetCustomAttributes
(this, attributeType, inherit);
System\Reflection\Runtime\MethodInfos\RuntimeConstructorInfo.cs (2)
36
public sealed override object[] GetCustomAttributes(bool inherit) => RuntimeCustomAttribute.
GetCustomAttributes
(this, typeof(object), inherit);
41
return RuntimeCustomAttribute.
GetCustomAttributes
(this, attributeType, inherit);
System\Reflection\Runtime\PropertyInfos\RuntimePropertyInfo.cs (2)
287
public sealed override object[] GetCustomAttributes(bool inherit) => RuntimeCustomAttribute.
GetCustomAttributes
(this, typeof(object), inherit: false);
292
return RuntimeCustomAttribute.
GetCustomAttributes
(this, attributeType, inherit: false);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (2)
107
public object[] GetCustomAttributes(bool inherit) => RuntimeCustomAttribute.
GetCustomAttributes
(ToType(), typeof(object), inherit);
112
return RuntimeCustomAttribute.
GetCustomAttributes
(ToType(), attributeType, inherit);
System\Reflection\RuntimeMethodInfo.cs (2)
92
public sealed override object[] GetCustomAttributes(bool inherit) => RuntimeCustomAttribute.
GetCustomAttributes
(this, typeof(object), inherit);
97
return RuntimeCustomAttribute.
GetCustomAttributes
(this, attributeType, inherit);