6 references to GetMatchingCustomAttributes
System.Private.CoreLib (6)
System\Reflection\Attribute.NativeAot.cs (4)
29return OneOrNull(element.GetMatchingCustomAttributes(attributeType)); 65IEnumerable<CustomAttributeData> matches = element.GetMatchingCustomAttributes(null, skipTypeValidation: true); 71return Instantiate(element.GetMatchingCustomAttributes(attributeType), attributeType); 103IEnumerable<CustomAttributeData> matches = element.GetMatchingCustomAttributes(attributeType);
System\Reflection\Runtime\General\LegacyCustomAttributeApis.cs (2)
151IEnumerable<CustomAttributeData> cads = this.GetMatchingCustomAttributes(attributeType, skipTypeValidation: true); // inherit is meaningless for Modules 158IEnumerable<CustomAttributeData> cads = this.GetMatchingCustomAttributes(attributeType, skipTypeValidation: true); // inherit is meaningless for Modules