6 references to GetMatchingCustomAttributes
System.Private.CoreLib (6)
System\Reflection\Attribute.NativeAot.cs (4)
36
return OneOrNull(element.
GetMatchingCustomAttributes
(attributeType, inherit));
78
IEnumerable<CustomAttributeData> matches = element.
GetMatchingCustomAttributes
(null, inherit, skipTypeValidation: true);
84
return Instantiate(element.
GetMatchingCustomAttributes
(attributeType, inherit), attributeType);
111
IEnumerable<CustomAttributeData> matches = element.
GetMatchingCustomAttributes
(attributeType, inherit);
System\Reflection\Runtime\General\LegacyCustomAttributeApis.cs (2)
174
IEnumerable<CustomAttributeData> cads = this.
GetMatchingCustomAttributes
(attributeType, inherit: false, skipTypeValidation: true); // Desktop compat: for parameters, this form of the api ignores "inherit"
181
IEnumerable<CustomAttributeData> cads = this.
GetMatchingCustomAttributes
(attributeType, inherit: false, skipTypeValidation: true); // Desktop compat: for parameters, this form of the api ignores "inherit"