27 references to RuntimeCustomAttribute
System.Private.CoreLib (27)
System\Reflection\Runtime\Assemblies\RuntimeAssemblyInfo.cs (3)
173
public sealed override object[] GetCustomAttributes(bool inherit) =>
RuntimeCustomAttribute
.GetCustomAttributes(this, typeof(object));
178
return
RuntimeCustomAttribute
.GetCustomAttributes(this, attributeType);
186
return
RuntimeCustomAttribute
.IsDefined(this, attributeType);
System\Reflection\Runtime\EventInfos\RuntimeEventInfo.cs (3)
135
public sealed override object[] GetCustomAttributes(bool inherit) =>
RuntimeCustomAttribute
.GetCustomAttributes(this, typeof(object), inherit: false);
140
return
RuntimeCustomAttribute
.GetCustomAttributes(this, attributeType, inherit: false);
148
return
RuntimeCustomAttribute
.IsDefined(this, attributeType, inherit: false);
System\Reflection\Runtime\FieldInfos\RuntimeFieldInfo.cs (3)
73
public sealed override object[] GetCustomAttributes(bool inherit) =>
RuntimeCustomAttribute
.GetCustomAttributes(this, typeof(object), inherit);
78
return
RuntimeCustomAttribute
.GetCustomAttributes(this, attributeType, inherit);
86
return
RuntimeCustomAttribute
.IsDefined(this, attributeType, inherit);
System\Reflection\Runtime\MethodInfos\RuntimeConstructorInfo.cs (3)
36
public sealed override object[] GetCustomAttributes(bool inherit) =>
RuntimeCustomAttribute
.GetCustomAttributes(this, typeof(object), inherit);
41
return
RuntimeCustomAttribute
.GetCustomAttributes(this, attributeType, inherit);
49
return
RuntimeCustomAttribute
.IsDefined(this, attributeType, inherit);
System\Reflection\Runtime\Modules\RuntimeModule.cs (3)
30
public sealed override object[] GetCustomAttributes(bool inherit) =>
RuntimeCustomAttribute
.GetCustomAttributes(this, typeof(object));
35
return
RuntimeCustomAttribute
.GetCustomAttributes(this, attributeType);
43
return
RuntimeCustomAttribute
.IsDefined(this, attributeType);
System\Reflection\Runtime\ParameterInfos\RuntimeParameterInfo.cs (3)
28
public sealed override object[] GetCustomAttributes(bool inherit) =>
RuntimeCustomAttribute
.GetCustomAttributes(this, typeof(object));
33
return
RuntimeCustomAttribute
.GetCustomAttributes(this, attributeType);
41
return
RuntimeCustomAttribute
.IsDefined(this, attributeType);
System\Reflection\Runtime\PropertyInfos\RuntimePropertyInfo.cs (3)
287
public sealed override object[] GetCustomAttributes(bool inherit) =>
RuntimeCustomAttribute
.GetCustomAttributes(this, typeof(object), inherit: false);
292
return
RuntimeCustomAttribute
.GetCustomAttributes(this, attributeType, inherit: false);
300
return
RuntimeCustomAttribute
.IsDefined(this, attributeType, inherit: false);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (3)
107
public object[] GetCustomAttributes(bool inherit) =>
RuntimeCustomAttribute
.GetCustomAttributes(ToType(), typeof(object), inherit);
112
return
RuntimeCustomAttribute
.GetCustomAttributes(ToType(), attributeType, inherit);
120
return
RuntimeCustomAttribute
.IsDefined(ToType(), attributeType, inherit);
System\Reflection\RuntimeMethodInfo.cs (3)
92
public sealed override object[] GetCustomAttributes(bool inherit) =>
RuntimeCustomAttribute
.GetCustomAttributes(this, typeof(object), inherit);
97
return
RuntimeCustomAttribute
.GetCustomAttributes(this, attributeType, inherit);
105
return
RuntimeCustomAttribute
.IsDefined(this, attributeType, inherit);