16 references to GetMatchingCustomAttributes
System.Private.CoreLib (16)
System\Reflection\Attribute.NativeAot.cs (4)
24
return OneOrNull(element.
GetMatchingCustomAttributes
(attributeType, inherit));
54
IEnumerable<CustomAttributeData> matches = element.
GetMatchingCustomAttributes
(null, inherit, skipTypeValidation: true);
60
return Instantiate(element.
GetMatchingCustomAttributes
(attributeType, inherit), attributeType);
97
IEnumerable<CustomAttributeData> matches = element.
GetMatchingCustomAttributes
(attributeType, inherit);
System\Reflection\Runtime\General\LegacyCustomAttributeApis.cs (12)
59
IEnumerable<CustomAttributeData> cads = this.
GetMatchingCustomAttributes
(attributeType, inherit: inherit, skipTypeValidation: true);
66
IEnumerable<CustomAttributeData> cads = this.
GetMatchingCustomAttributes
(attributeType, inherit: inherit, skipTypeValidation: true);
82
IEnumerable<CustomAttributeData> cads = this.
GetMatchingCustomAttributes
(attributeType, inherit: false, skipTypeValidation: true); // Desktop compat: for events, this form of the api ignores "inherit"
89
IEnumerable<CustomAttributeData> cads = this.
GetMatchingCustomAttributes
(attributeType, inherit: false, skipTypeValidation: true); // Desktop compat: for events, this form of the api ignores "inherit"
105
IEnumerable<CustomAttributeData> cads = this.
GetMatchingCustomAttributes
(attributeType, inherit: inherit, skipTypeValidation: true);
112
IEnumerable<CustomAttributeData> cads = this.
GetMatchingCustomAttributes
(attributeType, inherit: inherit, skipTypeValidation: true);
128
IEnumerable<CustomAttributeData> cads = this.
GetMatchingCustomAttributes
(attributeType, inherit: inherit, skipTypeValidation: true);
135
IEnumerable<CustomAttributeData> cads = this.
GetMatchingCustomAttributes
(attributeType, inherit: inherit, skipTypeValidation: true);
197
IEnumerable<CustomAttributeData> cads = this.
GetMatchingCustomAttributes
(attributeType, inherit: false, skipTypeValidation: true); // Desktop compat: for properties, this form of the api ignores "inherit"
204
IEnumerable<CustomAttributeData> cads = this.
GetMatchingCustomAttributes
(attributeType, inherit: false, skipTypeValidation: true); // Desktop compat: for properties, this form of the api ignores "inherit"
220
IEnumerable<CustomAttributeData> cads = this.ToType().
GetMatchingCustomAttributes
(attributeType, inherit: inherit, skipTypeValidation: true);
227
IEnumerable<CustomAttributeData> cads = this.ToType().
GetMatchingCustomAttributes
(attributeType, inherit: inherit, skipTypeValidation: true);