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